瀏覽代碼

Update package name

vishnukvmd 2 年之前
父節點
當前提交
c983ca1b63

+ 1 - 1
android/app/build.gradle

@@ -50,7 +50,7 @@ android {
 
     defaultConfig {
         // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
-        applicationId "io.ente.authenticator"
+        applicationId "io.ente.auth"
         minSdkVersion 20
         targetSdkVersion 30
         versionCode flutterVersionCode.toInteger()

+ 1 - 1
android/app/src/debug/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="io.ente.authenticator">
+    package="io.ente.auth">
     <!-- Flutter needs it to communicate with the running application
          to allow setting breakpoints, to provide hot reload, etc.
     -->

+ 1 - 1
android/app/src/main/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="io.ente.authenticator">
+    package="io.ente.auth">
    <application
         android:label="${appName}"
         android:icon="@mipmap/launcher_icon">

+ 1 - 1
android/app/src/main/kotlin/io/ente/authenticator/MainActivity.kt

@@ -1,4 +1,4 @@
-package io.ente.authenticator
+package io.ente.auth
 
 import io.flutter.embedding.android.FlutterActivity
 

+ 1 - 1
android/app/src/profile/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="io.ente.authenticator">
+    package="io.ente.auth">
     <!-- Flutter needs it to communicate with the running application
          to allow setting breakpoints, to provide hot reload, etc.
     -->

+ 2 - 2
lib/services/update_service.dart

@@ -90,7 +90,7 @@ class UpdateService {
       return false;
     }
     if (!kDebugMode &&
-        _packageInfo.packageName != "io.ente.authenticator.independent") {
+        _packageInfo.packageName != "io.ente.auth.independent") {
       return false;
     }
     return true;
@@ -100,7 +100,7 @@ class UpdateService {
     if (Platform.isIOS) {
       return false;
     }
-    return _packageInfo.packageName.startsWith("io.ente.authenticator.independent");
+    return _packageInfo.packageName.startsWith("io.ente.auth.independent");
   }
 }
 

+ 1 - 1
lib/ui/payment/stripe_subscription_page.dart

@@ -232,7 +232,7 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
                   launchUrlString(
                     "https://play.google.com/store/account/subscriptions?sku=" +
                         _currentSubscription.productID +
-                        "&package=io.ente.authenticator",
+                        "&package=io.ente.auth",
                   );
                   break;
                 case appStore:

+ 1 - 1
lib/ui/payment/subscription_page.dart

@@ -232,7 +232,7 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
                 launchUrlString(
                   "https://play.google.com/store/account/subscriptions?sku=" +
                       _currentSubscription.productID +
-                      "&package=io.ente.authenticator",
+                      "&package=io.ente.auth",
                 );
               } else if (paymentProvider == stripe) {
                 showErrorDialog(

+ 1 - 1
linux/CMakeLists.txt

@@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
 set(BINARY_NAME "authenticator")
 # The unique GTK application identifier for this application. See:
 # https://wiki.gnome.org/HowDoI/ChooseApplicationID
-set(APPLICATION_ID "io.ente.authenticator")
+set(APPLICATION_ID "io.ente.auth")
 
 # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
 # versions of CMake.

+ 3 - 3
macos/Runner/Configs/AppInfo.xcconfig

@@ -5,10 +5,10 @@
 // 'flutter create' template.
 
 // The application's name. By default this is also the title of the Flutter window.
-PRODUCT_NAME = authenticator
+PRODUCT_NAME = auth
 
 // The application's bundle identifier
-PRODUCT_BUNDLE_IDENTIFIER = io.ente.authenticator
+PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth
 
 // The copyright displayed in application information
-PRODUCT_COPYRIGHT = Copyright © 2022 io.ente.authenticator. All rights reserved.
+PRODUCT_COPYRIGHT = Copyright © 2022 io.ente.auth. All rights reserved.

+ 3 - 3
windows/runner/Runner.rc

@@ -89,12 +89,12 @@ BEGIN
     BEGIN
         BLOCK "040904e4"
         BEGIN
-            VALUE "CompanyName", "io.ente.authenticator.ente-auth" "\0"
+            VALUE "CompanyName", "Ente Technologies, Inc." "\0"
             VALUE "FileDescription", "ente Authenticator" "\0"
             VALUE "FileVersion", VERSION_AS_STRING "\0"
             VALUE "InternalName", "ente Authenticator" "\0"
-            VALUE "LegalCopyright", "Copyright (C) 2022 io.ente.authenticator. All rights reserved." "\0"
-            VALUE "OriginalFilename", "ente_authenticator.exe" "\0"
+            VALUE "LegalCopyright", "Copyright (C) 2022 Ente Technologies, Inc.. All rights reserved." "\0"
+            VALUE "OriginalFilename", "ente_auth.exe" "\0"
             VALUE "ProductName", "ente Authenticator" "\0"
             VALUE "ProductVersion", VERSION_AS_STRING "\0"
         END