Polkadot Wallet With Social Recovery
by Hypha Hashed Partners
Install Flutter
There is three ways to run the app: Native on device, on iOS Simulator, or on Android Emulator.
Provide email and I will add you to Google Play Store Testing Track, and iOS Testflight, to install the app natively through the respective app stores.
On MacOS, install XCode
This will install an app called "Simluator" - run Simulator
On other platforms, install the Android Emulator and Android Studio
git clone git@github.com:hypha-dao/hashed-wallet.git
cd hashed-wallet
git checkout v1.0.0_M1_00
flutter pub get
flutter run
Prerequisites: Docker is installed.
cd docker
docker build --progress=plain -t flutterdocker .
Note: The docker build also runs the unit tests, and fails if the unit tests fail.
The docker build can be run repeatedly - the results are cached, but the cache is invalidated any time there's an update to the code repository so if there is new code, the tests run again.
Create an app bundle and upload to Google Play
flutter build appbundle
For iOS App store release, we build with XCode - but before running the XCode build, we need to run the flutter build for iOS.
1 - Build for iOS flutter
flutter build ios
2 - Build with XCode for App store distrubution as usual
There are two dependencies on iOS 14.
1 - iOS versions before 14 do not support WASM in JavaScriptCore. Polkadot JS requires WASM support.
2 - flutter_inapp_webview has bugs in iOS versions < 14