Skip to content

confesi/confesi-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confesi Client 🚀

Initial project setup for linking to the Firebase project

This will likely need to be done only once per deployment environment.

Adding Firebase config files:

  1. Go to the Firebase console > PROJECT_NAME > settings cog icon > project settings > scroll down > go to both the iOS and Android tabs and install the respective GoogleService-Info.plist and google-services.json files.

  2. The iOS file should be placed in both ~/ios/MyApp and ~/ios/Runner.

  3. The Android file should be placed in ~/android/app.

  4. Install the FlutterFire CLI here.

  5. Run flutterfire configure. This will help with "filling in the gaps" with linking the projects.

Running the project

To run in debug mode:

flutter run

To run in release mode (fast, no debug tools):

flutter run --release

Editing the Firebase Remote Config

The remote config representative JSON map is found in ~/lib/core/services/remote_config/remote_config.dart. Edit this when updating the Firebase project's Remote Config in the dashboard.

Always ensure every key exists. Do not just "remove" keys without ensuring they aren't being used by some version of the app.

Apple deep links

You can verify the app-site-association here:

https://app-site-association.cdn-apple.com/a/v1/confesi.com. Or, simply by plugging in YOUR DOMAIN to confesi.com.

If something isn't working...

This will diagnose your Flutter installation:

flutter doctor

To rebuild from scratch:

flutter clean
flutter pub get
flutter run

Todo for release

  • Ensure the home widget has correct url endpoint. This is in the Swift code.

Release (Apple)

Ensure the proper settings via checking them in the project's Runner in XCode (build number, version, signing, etc.):

xed ios

To compile the Apple IPA file, run:

flutter build ipa --obfuscate --split-debug-info=build/app/outputs/symbols

The output IPA file will appear in /build/ios/ipa/<SOMETHING>.ipa. It can be transferred to App Store Connect via Apple's Transporter.