Skip to content

Commit 72f3607

Browse files
TaeBbongtinyjin
authored andcommitted
fix: rename app namespace, bundle_id in examples
1 parent d379feb commit 72f3607

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// The Android Gradle Plugin builds the native code with the Android NDK.
2-
group 'com.example.thorvg'
2+
group 'org.thorvg.example'
33
version '1.0'
44

55
buildscript {
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
2525

2626
android {
2727
if (project.android.hasProperty("namespace")) {
28-
namespace 'com.example.thorvg'
28+
namespace 'org.thorvg.example'
2929
}
3030

3131
// Bumping the plugin compileSdkVersion requires all clients of this plugin

example/android/app/src/main/kotlin/com/example/example/MainActivity.kt renamed to example/android/app/src/main/kotlin/org/thorvg/example/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.example
1+
package org.thorvg.example
22

33
import io.flutter.embedding.android.FlutterActivity
44

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@
197197
97C146EC1CF9000F007C117D /* Resources */,
198198
9705A1C41CF9048500538489 /* Embed Frameworks */,
199199
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
200-
5D27A809CE61C03E7E8B1B5A /* [CP] Embed Pods Frameworks */,
201200
);
202201
buildRules = (
203202
);
@@ -285,23 +284,6 @@
285284
shellPath = /bin/sh;
286285
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
287286
};
288-
5D27A809CE61C03E7E8B1B5A /* [CP] Embed Pods Frameworks */ = {
289-
isa = PBXShellScriptBuildPhase;
290-
buildActionMask = 2147483647;
291-
files = (
292-
);
293-
inputFileListPaths = (
294-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
295-
);
296-
name = "[CP] Embed Pods Frameworks";
297-
outputFileListPaths = (
298-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
299-
);
300-
runOnlyForDeploymentPostprocessing = 0;
301-
shellPath = /bin/sh;
302-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
303-
showEnvVarsInLog = 0;
304-
};
305287
9740EEB61CF901F6004384FC /* Run Script */ = {
306288
isa = PBXShellScriptBuildPhase;
307289
alwaysOutOfDate = 1;
@@ -476,7 +458,7 @@
476458
"$(inherited)",
477459
"@executable_path/Frameworks",
478460
);
479-
PRODUCT_BUNDLE_IDENTIFIER = com.example.lottieNative;
461+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example;
480462
PRODUCT_NAME = "$(TARGET_NAME)";
481463
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
482464
SWIFT_VERSION = 5.0;
@@ -493,7 +475,7 @@
493475
CURRENT_PROJECT_VERSION = 1;
494476
GENERATE_INFOPLIST_FILE = YES;
495477
MARKETING_VERSION = 1.0;
496-
PRODUCT_BUNDLE_IDENTIFIER = com.example.thorvg.RunnerTests;
478+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example.RunnerTests;
497479
PRODUCT_NAME = "$(TARGET_NAME)";
498480
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
499481
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -511,7 +493,7 @@
511493
CURRENT_PROJECT_VERSION = 1;
512494
GENERATE_INFOPLIST_FILE = YES;
513495
MARKETING_VERSION = 1.0;
514-
PRODUCT_BUNDLE_IDENTIFIER = com.example.lottieNative.RunnerTests;
496+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example.RunnerTests;
515497
PRODUCT_NAME = "$(TARGET_NAME)";
516498
SWIFT_VERSION = 5.0;
517499
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -527,7 +509,7 @@
527509
CURRENT_PROJECT_VERSION = 1;
528510
GENERATE_INFOPLIST_FILE = YES;
529511
MARKETING_VERSION = 1.0;
530-
PRODUCT_BUNDLE_IDENTIFIER = com.example.lottieNative.RunnerTests;
512+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example.RunnerTests;
531513
PRODUCT_NAME = "$(TARGET_NAME)";
532514
SWIFT_VERSION = 5.0;
533515
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -656,7 +638,7 @@
656638
"$(inherited)",
657639
"@executable_path/Frameworks",
658640
);
659-
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.app;
641+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example;
660642
PRODUCT_NAME = "$(TARGET_NAME)";
661643
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
662644
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -680,7 +662,7 @@
680662
"$(inherited)",
681663
"@executable_path/Frameworks",
682664
);
683-
PRODUCT_BUNDLE_IDENTIFIER = com.example.lottieNative;
665+
PRODUCT_BUNDLE_IDENTIFIER = org.thorvg.example;
684666
PRODUCT_NAME = "$(TARGET_NAME)";
685667
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
686668
SWIFT_VERSION = 5.0;

0 commit comments

Comments
 (0)