Closed phavekes closed 2 months ago
What steps did you take to build the application? Through ./scripts/setup-devenv.sh
and ./scripts/start-devenv.sh
?
I've built the app using the commandline tools
bundle exec fastlane android build
It's recommended to use the two scripts I mentioned above to setup a development environment, and the other prerequisites mentioned in the readme. Those will setup all the necessary configuration and supporting applications, including generating the necessary certificates that are used for relying party authentication. If you have the prerequisites, it should launch the app inside the simulator or a connected phone without any other steps.
Running Fastlane manually and/or creating release builds outside of CI is not recommended/supported, but you can find the options used in CI here. That job depends on the wallet-env-config task.
For a one-off release build it's probably easier to modify the invocation of flutter run
at the end of start-devenv.sh
to flutter build apk --release
. You still need to add an APK signing certificate to the signingConfigs
in wallet_app/android/app/build.gradle
.
Thank you for your suggestions. I do not want to install the complete dev-enviroment and all the software coming with it. I want to test the reference wallet app against our own issuers and verifiers. Instructions to build the app without all other services would be very helpful. Or could a APK be included in releases?
Building using the full environment / all components works fine. Some instructions to use this outside localhost would be nice.
I've build the Android version of the app, and installed in onto a device. When starting the app, it crashes on establishing a SSL connection. ADB logcat shows :
Could it be a client-certificate needs to be added, or is a remote endpoint unavailable?