diff --git a/FIREBASE_SETUP.md b/FIREBASE_SETUP.md index 4ef322a..8af4aac 100644 --- a/FIREBASE_SETUP.md +++ b/FIREBASE_SETUP.md @@ -11,7 +11,7 @@ ## Step 2: Add Android App 1. In Firebase Console, click the Android icon to add an Android app -2. Enter package name: `com.example.sage` (must match AndroidManifest.xml) +2. Enter package name: `com.github.mystiatech.sage` (must match exactly!) 3. App nickname: `Sage` (optional) 4. Debug signing certificate SHA-1: (optional, skip for now) 5. Click "Register app" diff --git a/android/app/README_FIREBASE.md b/android/app/README_FIREBASE.md index f8e14a8..7b7f091 100644 --- a/android/app/README_FIREBASE.md +++ b/android/app/README_FIREBASE.md @@ -15,7 +15,7 @@ The current `google-services.json` file is a **PLACEHOLDER** and will **NOT** wo ### Package Name (must match): ``` -com.sage.sage +com.github.mystiatech.sage ``` Without the real Firebase configuration file, household sharing will not work across devices! diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 5b98b50..eaae696 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } android { - namespace = "com.sage.sage" + namespace = "com.github.mystiatech.sage" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion @@ -21,8 +21,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.sage.sage" + applicationId = "com.github.mystiatech.sage" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion // Firebase requires minSdk 21 diff --git a/android/app/google-services.json b/android/app/google-services.json index 8813823..abd877a 100644 --- a/android/app/google-services.json +++ b/android/app/google-services.json @@ -9,7 +9,7 @@ "client_info": { "mobilesdk_app_id": "1:PLACEHOLDER:android:PLACEHOLDER", "android_client_info": { - "package_name": "com.sage.sage" + "package_name": "com.github.mystiatech.sage" } }, "oauth_client": [], diff --git a/android/app/src/main/kotlin/com/sage/sage/MainActivity.kt b/android/app/src/main/kotlin/com/github/mystiatech/sage/MainActivity.kt similarity index 72% rename from android/app/src/main/kotlin/com/sage/sage/MainActivity.kt rename to android/app/src/main/kotlin/com/github/mystiatech/sage/MainActivity.kt index 7b6a30b..c8e7170 100644 --- a/android/app/src/main/kotlin/com/sage/sage/MainActivity.kt +++ b/android/app/src/main/kotlin/com/github/mystiatech/sage/MainActivity.kt @@ -1,4 +1,4 @@ -package com.sage.sage +package com.github.mystiatech.sage import io.flutter.embedding.android.FlutterActivity