omi: Easy onboarding for app developers, they shouldn't to build the backend
Send them:
- API_BASE_URL: https://based-hardware-development--backend-api.modal.run/
- Android Debug Jks, *we create one and add to firebase dev https://stackoverflow.com/questions/51845559/generate-sha-1-for-flutter-react-native-android-native-app/56091158#56091158
- Firebase Service Account Key
firebase_dev_key.json GoogleService-Info.plist
That’s all!
Don’t forget finish prerequisites https://docs.omi.me/get_started/Setup
Command lines might help:
$ dart pub global activate flutterfire_cli
$ flutterfire config --platforms="android,ios" --out=lib/firebase_options_dev.dart --ios-bundle-id=com.friend-app-with-wearable.ios12.development --android-app-id=com.friend.ios.dev --android-out=android/app/src/dev/ --ios-out=ios/Config/Dev/ --ios-target="Runner" --yes --service-account="firebase_dev_key.json" --project="based-hardware-dev"
# to bypass the compile error, product only
$ flutterfire config --platforms="android,ios" --out=lib/firebase_options_prod.dart --ios-bundle-id=com.friend-app-with-wearable.ios12 --android-app-id=com.friend.ios.dev --android-out=android/app/src/prod/ --ios-out=ios/Config/Prod/ --ios-target="Runner" --yes --service-account="firebase_dev_key.json" --project="based-hardware-dev"
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (8 by maintainers)
In the long run, we should move authentication to the backend so that there’s no dependency on Firebase in the app (except for notifications). This would also make things easy for backend devs as well (they can just simply set their backend URL in the prod app)
Can you show me a repo that’s easy to onboard?
| @josancamon19 - The focus on app devs is mainly to push forward the app store inside of Omi
Then you need to be able to change the back url from the app, or let the use e.g. development, which I think we already are