Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][auth] Fix App Store app name on macOS (#14333)

Ashil1f4d70d93841
diff --git a/mobile/apps/auth/changes/macos-app-name.md b/mobile/apps/auth/changes/macos-app-name.md
new file mode 100644
index 0000000000..37bd4e1af8
--- /dev/null
+++ b/mobile/apps/auth/changes/macos-app-name.md
@@ -0,0 +1 @@
+- Fixed the App Store version showing as "Runner" instead of "Ente Auth" on macOS.
diff --git a/mobile/apps/auth/ios/Runner.xcodeproj/project.pbxproj b/mobile/apps/auth/ios/Runner.xcodeproj/project.pbxproj
index 117af7e978..3905534390 100644
--- a/mobile/apps/auth/ios/Runner.xcodeproj/project.pbxproj
+++ b/mobile/apps/auth/ios/Runner.xcodeproj/project.pbxproj
@@ -40,7 +40,7 @@
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
- 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146EE1CF9000F007C117D /* Ente Auth.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Ente Auth.app"; sourceTree = BUILT_PRODUCTS_DIR; };
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
@@ -109,7 +109,7 @@
97C146EF1CF9000F007C117D /* Products */ = {
isa = PBXGroup;
children = (
- 97C146EE1CF9000F007C117D /* Runner.app */,
+ 97C146EE1CF9000F007C117D /* Ente Auth.app */,
);
name = Products;
sourceTree = "<group>";
@@ -152,7 +152,7 @@
);
name = Runner;
productName = Runner;
- productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productReference = 97C146EE1CF9000F007C117D /* Ente Auth.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
@@ -378,7 +378,7 @@
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
- PRODUCT_NAME = "$(TARGET_NAME)";
+ PRODUCT_NAME = "Ente Auth";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -459,7 +459,7 @@
);
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
- PRODUCT_NAME = "$(TARGET_NAME)";
+ PRODUCT_NAME = "Ente Auth";
PROVISIONING_PROFILE_SPECIFIER = "$(APP_STORE_PROFILE_SPECIFIER)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -539,7 +539,7 @@
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
- PRODUCT_NAME = "$(TARGET_NAME)";
+ PRODUCT_NAME = "Ente Auth";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -620,7 +620,7 @@
);
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
- PRODUCT_NAME = "$(TARGET_NAME)";
+ PRODUCT_NAME = "Ente Auth";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -700,7 +700,7 @@
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
- PRODUCT_NAME = "$(TARGET_NAME)";
+ PRODUCT_NAME = "Ente Auth";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
diff --git a/mobile/apps/auth/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/mobile/apps/auth/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index 9c12df59c6..ee0e126aa0 100644
--- a/mobile/apps/auth/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/mobile/apps/auth/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
- BuildableName = "Runner.app"
+ BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@@ -32,7 +32,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
- BuildableName = "Runner.app"
+ BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@@ -57,7 +57,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
- BuildableName = "Runner.app"
+ BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@@ -74,7 +74,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
- BuildableName = "Runner.app"
+ BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
diff --git a/mobile/apps/auth/ios/Runner/Info.plist b/mobile/apps/auth/ios/Runner/Info.plist
index 7dc0cbee62..38560258d5 100644
--- a/mobile/apps/auth/ios/Runner/Info.plist
+++ b/mobile/apps/auth/ios/Runner/Info.plist
@@ -20,7 +20,7 @@
<string>es</string>
</array>
<key>CFBundleName</key>
- <string>Auth</string>
+ <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>