Skip to content
📱 Lisk graphical user interface for mobile
Branch: development
Clone or download
Latest commit 56aee77 Jun 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Remove Checkboxes from PR template Aug 8, 2018
__mocks__ Add tests for storage functions Nov 27, 2018
android Add quick action icons and app icons Jun 13, 2019
e2e/features change step definition to match the exact step May 22, 2019
ios Merge branch 'development' into 869-change-splash-screen Jun 13, 2019
locales Merge pull request #847 from LiskHQ/758-migrate-bookmarks-to-the-new-… Jun 5, 2019
scripts Fix the i18n scripts to scan constants too Feb 21, 2019
src Merge pull request #871 from LiskHQ/866-adapt-icon-colors Jun 13, 2019
.babelrc Update some dependencies to the latest version Oct 10, 2018
.buckconfig Add some new config files Jun 12, 2018
.eslintignore Add shim.js to list of eslint ignores Jun 13, 2018
.eslintrc update configs May 22, 2019
.flowconfig Add some new config files Jun 12, 2018
.gitattributes Add some new config files Jun 12, 2018
.gitignore Update .gitignore for commercial fonts Apr 30, 2019
.nvmrc Use Node.js 8.14.0 Nov 30, 2018
.watchmanconfig Create config files Feb 24, 2018
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md Jun 12, 2018
CONTRIBUTING.md Add contribution guide Jun 12, 2018
Jenkinsfile Playing with Jenkins Dec 21, 2018
LICENSE Add LICENSE Jun 12, 2018
README.md Update README Apr 30, 2019
app.json Rename the application project to Lisk Aug 7, 2018
btc.config.js Update btc to use the correct domain Jun 7, 2019
env.json Update the ios version number Oct 1, 2018
index.js Fix a bug in index.js Oct 10, 2018
index.message.js Rename imessageForm to imessage in the component folder Jan 28, 2019
jest.config.js update configs May 22, 2019
lsk.config.js Create lsk.config.js Feb 27, 2019
package-lock.json Update lock Jun 13, 2019
package.json Install latest version of Axios Jun 12, 2019
shim.js Improve the code styling Aug 8, 2018

README.md

Lisk Mobile

Build Status Coverage Status License: GPL v3 Join the chat at https://gitter.im/LiskHQ/lisk

Lisk Mobile is a cross-platform application written in React Native and primarily build for iOS and Android. It provides the users with all the functionality they need to send and receive LSK tokens, as well as reviewing the activity history of their or any other account in the Lisk blockchain.

Get it from iTunes Get it on Google Play

For Contributors

Please see CONTRIBUTING.md for more information.

Development

Pre-Installation

The next section details the prerequisites to install Lisk Mobile from source using the different tagged releases.

  • Git
    • brew install git
  • NodeJS (recommended 8.14.0)
    • brew install node
  • npm (recommended 5.3.0)
    • npm is shipped with NodeJS. but to have a specific version installed see here.
  • watchman
    • brew install watchman
  • react-native-cli
    • Install using npm

iOS

You'll need the Xcode installed in your machine to run the app in simulator.

Android

  • Install Android Studio, which sould have these options checked installed:
    • Android SDK
    • Android SDK Platform
    • Performance (Intel ® HAXM)
    • Android Virtual Device
  • Install the Android SDK. Consider these configurations:
  • compileSdkVersion: 26
  • buildToolsVersion: 27.0.3

Installation

$ git clone https://github.com/LiskHQ/lisk-mobile.git
$ cd lisk-mobile
$ npm install
$ npm run start

Development environment

You can run the project in Xcode and use iOS simulators or alternatively use Android simulators. There are several options to set up your Android development environment. Please read React Native docs for more info.

Three is a standalone app for debugging React Native. it has React and Redux debugger enabled by default. Please read React Native Debugger for more info.

Environment variables

You can fill out env.json with those variables:

network             -> Lisk network's name, can be mainnet or testnet.
passphrase          -> Passphrase of your LSK account, to be filled out automatically on login.
secondPassphrase    -> Second passphrase of your LSK account, to be filled out automatically on send process.
useCommercialFonts  -> Tells styleGuide/fonts.js file to load commercial fonts instead of Open Sans.

In order to avoid commiting that file you can follow this approach as following

$ git update-index --assume-unchanged env.json

Using Commercial Fonts

Since some of the fonts used in the production version are commercial, this repository only contains open source fonts and uses Open Sans as a replacement for the commercial ones.

If you have licensed copies of Basier Circle and Gilroy, you can add them to fonts folder with the naming convention stated in styleGuide/fonts.js file and make sure all the fonts are linked.

$ react-native link ./src/assets/fonts

Run

$ npm start

Build - iOS

$ npm run build:ios

Build - Android

$ npm run build:android

Unit Tests

Single run

$ npm run test

iMessage Extension

Please check out iMessage extension docs for more information.

Contributors

See contributors section.

License

Copyright © 2016-2018 Lisk Foundation

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

You can’t perform that action at this time.