This mobile version of SoulWallet Extension that is gateway help you access to Dotsama ecosytem.
Mobile version run an app runner run in hidden webview and use message passing to interact with it. There are 2 reasons why we do this:
- React native is not support WASM, we can't get full features of
@polkadot/packages
so we need to run most crypto features on webview. - Using the same resources saves us not only development time, but also makes extension and mobile versioning more consistent
- Install yarn
- Setup react native development environment use React Native CLI.
- From package folder run
yarn start
to make sure we installed all required packages - Android
- Make sure you started a silumator and check it with command
adb devices
- Run
yarn android
- Make sure you started a silumator and check it with command
- IOS
- Run
yarn ios
to start development
- Run
- Install pods for iOS
cd ios && pod install
- Run in iOS Simulator
yarn ios