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.
Please see CONTRIBUTING.md for more information.
The next section details the prerequisites to install Lisk Mobile from source using the different tagged releases.
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.
brew install watchman
- Install using npm
You'll need the Xcode installed in your machine to run the app in simulator.
- 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: 28
- buildToolsVersion: 27.0.3
$ git clone https://github.com/LiskHQ/lisk-mobile.git $ cd lisk-mobile $ npm install $ npm run start
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.
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.
$ react-native link ./src/assets/fonts
$ npm start
Build - iOS
$ npm run build:ios
Build - Android
$ npm run build:android
$ npm run test
Please check out iMessage extension docs for more information.
See contributors section.
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.