A mobile wallet for dapps & tokens. Currently focused on iOS.
- A computer running macOS.
- NVM installed: https://github.com/creationix/nvm
- Install CocoaPods by running
sudo gem install cocoapods
- Install Watchman
brew install watchman
- Install the latest version of XCode: https://developer.apple.com/xcode/
- Clone and install Balance Common, our shared library: https://github.com/balance-io/balance-common
If you are new to React Native, this is a helpful introduction: https://facebook.github.io/react-native/docs/getting-started.html
-
Clone the GitHub repository to your machine.
-
Run
nvm use
to use set version of node for this project -
Run
yarn
to get all of the packages required. -
Run
yarn nodeify
. -
Install required Pods by running
yarn install-pods
. -
Run
yarn ios
to build the project for XCode. -
Open
balance-wallet/ios/BalanceWallet.xcworkspace
. -
Run the project by clicking the play button.
In order to use code push you must be logged into the correct Microsoft App Center account.
npm install -g code-push
code-push login
At this point you will be required to log into the account tied to the code push public keys in Info.plist
code-push release-react BalanceWallet-iOS ios -d <DEPLOYMENT>
The deployment can either be Staging
or Production
depending on the mode of the application you wish to update was built in through XCode.
In order to build the application in "release" mode but not use the code push distribution you must build the application using the scheme LocalRelease
.
Building the application with the Staging
scheme or Release
scheme will result in your bundle being replaced by the live code push deployment on resume of the application.