Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ android {
multiDexEnabled true
}

// AGP 9 turns resValue off by default; the flavors use it for app_name.
// AGP 9 turns resValue off by default; the dev and staging flavors use it for app_name.
buildFeatures {
resValues true
}
Expand All @@ -80,16 +80,16 @@ android {
dev {
dimension "env"
applicationIdSuffix ".dev"
resValue "string", "app_name", "Codes USSD (Dev)"
resValue "string", "app_name", "USSD Codes (Dev)"
}
staging {
dimension "env"
applicationIdSuffix ".staging"
resValue "string", "app_name", "Codes USSD (Staging)"
resValue "string", "app_name", "USSD Codes (Staging)"
}
prod {
dimension "env"
resValue "string", "app_name", "Codes USSD"
// app_name comes from src/prod/res/values*/strings.xml, one per app language.
}
}

Expand Down
4 changes: 4 additions & 0 deletions android/app/src/prod/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Codes USSD</string>
</resources>
4 changes: 4 additions & 0 deletions android/app/src/prod/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">USSD Codes</string>
</resources>
15 changes: 15 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
340F47BC1ACC846B6F688494 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6CCCEFFB4E94F41654F7038D /* InfoPlist.strings */; };
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
2CBE31F92C33EBE29D14E370 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B55E067D2CC691CF0A7DD3D4 /* Pods_RunnerTests.framework */; };
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
Expand Down Expand Up @@ -43,6 +44,8 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
A07B2BC037417F431F3DD721 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
06E247DDD60CB913F49D3E52 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
024E2F5A926C4D1435BFC224 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -160,6 +163,7 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
97C147021CF9000F007C117D /* Info.plist */,
6CCCEFFB4E94F41654F7038D /* InfoPlist.strings */,
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
Expand Down Expand Up @@ -243,6 +247,7 @@
knownRegions = (
en,
Base,
fr,
);
mainGroup = 97C146E51CF9000F007C117D;
packageReferences = (
Expand Down Expand Up @@ -274,6 +279,7 @@
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
340F47BC1ACC846B6F688494 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -420,6 +426,15 @@
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
6CCCEFFB4E94F41654F7038D /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
A07B2BC037417F431F3DD721 /* en */,
06E247DDD60CB913F49D3E52 /* fr */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
Expand Down
9 changes: 7 additions & 2 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>fr</string>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Codes USSD</string>
<string>USSD Codes</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Codes USSD</string>
<string>USSD Codes</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
2 changes: 2 additions & 0 deletions ios/Runner/en.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"CFBundleDisplayName" = "USSD Codes";
"CFBundleName" = "USSD Codes";
2 changes: 2 additions & 0 deletions ios/Runner/fr.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"CFBundleDisplayName" = "Codes USSD";
"CFBundleName" = "Codes USSD";
Loading