27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Kick Kings support
|
|
|
|
Staff inbox for Kick Kings customer support. Players do not use this app.
|
|
|
|
## Run
|
|
|
|
```bash
|
|
flutter pub get
|
|
flutter run --dart-define=BASE_URL=https://kickkings.playpoolstudios.com
|
|
```
|
|
|
|
`BASE_URL` defaults to `https://kickkings.playpoolstudios.com`. Do not include a trailing slash.
|
|
|
|
Android application id: `com.kickkings.admin`.
|
|
|
|
iOS bundle id: `com.playpoolstudios.kickkings.support`.
|
|
|
|
## Push
|
|
|
|
`google-services.json` lives in the project root and is linked into the Android app. It is gitignored. Place `GoogleService-Info.plist` at `ios/Runner/GoogleService-Info.plist` when the iOS Firebase app exists.
|
|
|
|
The Android Google Services plugin is applied when that JSON file is present. The iOS build copies `GoogleService-Info.plist` into the app when that file is present. Login and the inbox still work before those files are added; device registration is skipped.
|
|
|
|
Do not commit Firebase project ids, API keys, or a service account.
|
|
|
|
Release signing should use a production push entitlement. `ios/Runner/Runner.entitlements` is set to `development` for local builds.
|