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.jsonfile intoandroid\app\src\debugandandroid\app\src\release; - changed
client.package_nametomy.privacyidea.app.debuginandroid\app\src\debug\google-services.jsonas it said in an instructionlib/utils/customization/application_customization.dart; - changed
android.productFlavors.netknightstomy.privacyidea.appinandroid/app/build.gradle; - changed
android.productFlavors.netknights_debugtomy.privacyidea.app.debuginandroid/app/build.gradle; - ran
Start debuggingin VSCode withprivacyIDEA Authenticator - debugconfiguration.
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.