navcoin / WhisperWallet

Whisper Wallet
5 stars 4 forks source link

WhisperWallet

How to start

Tested Dev Environment

$ node --version
$ v17.6.0
$ npm --version
$ 8.5.1

Development Command

Local iOS Dev: npm run ios Local Android Dev: npm run android

Run Locally

Clone the project

$ git clone https://github.com/aguycalled/WhisperWallet

Go to the project directory

$ cd WhisperWallet

Install dependencies

$ npm install
$ cd ios
$ pod install

Back to root and develop!

$ cd ..
$ npm run iOS

Happy Coding πŸ§‘πŸ½β€πŸ’»

Development

Screen Size

We are currently using @tsejerome/react-native-size-matters.
The suggested default dimension screen size for UI development is 390 x 844.
The devices below are the suggested iPhone Simulator that matches such requirements:

References: https://www.ios-resolution.com/

Potential Fixes

Android tapping backdrop of bottom tab does not close the bottom tab

References: Issue 65 Add gestureHandlerRootHOC to the page that the bottom tab doesn't work

Duplicate interface definition for class 'RCTModuleRegistry'

Solution: https://github.com/LinusU/react-native-get-random-values/pull/33/commits/30267ff4e9b5e93136cc935cf0370d8a09dd3aee

Command PhaseScriptExecution failed with a nonzero exit code

Solution 1:\ Make sure your xcode npm version is using the version you set as default in your bash/zsh. e.g. if you have set a nvm default alias, you will need to check if it is the same. One quick fix is to run nvm unalias default

Solution 2:\ Change from your node_modules/react-native/find-node.sh https://github.com/facebook/react-native/commit/35bcf934b186e581d100d43e563044300759557f