This mobile version of SubWallet 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:
@polkadot/packages
so we need to run most crypto features on webview.[CMake] is required on the build host for web runner.
When building for Android, [CMake] should be installed as a part of your Android SDK (open SDK Manager, and look for [CMake] within the SDK Tools tab).
On MacOS, the pkg-config
dependency is also needed. You can install both via [Homebrew],
by executing:
$ brew install cmake pkg-config
IMPORTANT: [Homebrew] should have added eval "$(/opt/homebrew/bin/brew shellenv)"'
command to your .zshrc
or .bashrc
. Although this works for interactive terminals,
it might not work for sessions inside of other apps, such as XCode, therefore you might need to
manually create symbolic links:
$ sudo ln -s $(which cmake) /usr/local/bin/cmake
$ sudo ln -s $(which pkg-config) /usr/local/bin/pkg-config
For details read: https://earthly.dev/blog/homebrew-on-m1, and Issue#29.
yarn start
to make sure we installed all required packagesadb devices
yarn android
yarn ios
to start development