配置android 的bundle id(namespace) 和应用名称

This commit is contained in:
bluesea 2024-05-16 12:48:44 +08:00
parent eaa9f90674
commit 838adcd208
4 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ if (flutterVersionName == null) {
}
android {
namespace "com.example.wallpaper"
namespace "com.lux.wallpapertoday"
compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

View File

@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="wallpaper"
android:label="WallPaper Today"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true">

View File

@ -477,7 +477,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.wallpaper;
PRODUCT_BUNDLE_IDENTIFIER = com.lux.wallpapertoday;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@ -660,7 +660,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.wallpaper;
PRODUCT_BUNDLE_IDENTIFIER = com.lux.wallpapertoday;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -683,7 +683,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.wallpaper;
PRODUCT_BUNDLE_IDENTIFIER = com.lux.wallpapertoday;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;

View File

@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Wallpaper</string>
<string>WallPaper Today</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>