BasedHardware / omi

AI wearables
https://omi.me
MIT License
3.58k stars 426 forks source link

Easy onboarding for app developers, they shouldn't to build the backend #1131

Open beastoin opened 2 hours ago

beastoin commented 2 hours ago

Send them:

  1. API_BASE_URL: https://based-hardware-development--backend-api.modal.run/
  2. Android Debug Jks, create one and add to firebase dev https://stackoverflow.com/questions/51845559/generate-sha-1-for-flutter-react-native-android-native-app/56091158#56091158
  3. Firebase Service Account Key firebase_dev_key.json
  4. 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"
beastoin commented 2 hours ago

hi @adamcohenhillel feel free to ask me anything.