Hi everyone! I am a non-Flutter developer, trying to build an Authenticator app for both Android and iOS with custom Firebase settings.
Steps that I did when building an Android version:
- forked a project and cloned it onto my system;
- installed Flutter plugin into VSCode (which also installed Flutter and Dart SDK);
- installed Android Studio;
- created a project in Firebase Console;
- added an Android app with the bundle name “my.privacyidea.app” (name is fictional for the record);
- downloaded
google-services.json
; - put the
google-services.json
file intoandroid\app\src\debug
andandroid\app\src\release
; - changed
client.package_name
tomy.privacyidea.app.debug
inandroid\app\src\debug\google-services.json
as it said in an instructionlib/utils/customization/application_customization.dart
; - changed
android.productFlavors.netknights
tomy.privacyidea.app
inandroid/app/build.gradle
; - changed
android.productFlavors.netknights_debug
tomy.privacyidea.app.debug
inandroid/app/build.gradle
; - ran
Start debugging
in VSCode withprivacyIDEA Authenticator - debug
configuration.
The result app works fine even though I haven’t built a release version yet. I scanned a QR, added a token, tried to authenticate - my Android phone receives push notifications.
My question is: what are the steps for building an iOS version?
I borrowed Macbook from my coworker and tried to run the commands from README, from Flutter documentation. I asked an LLM, it suggested to do some adjustments in the source code which I believe is unnecessary. I also made multiple adjustments with XCode to the project but all goes wrong. I think there is quite simple way to just build an app
Forgot to mention that I’ve created an iOS app in Firebase console, downloaded the GoogleService-Info.plist
into ios/
. Build failed.