Skip to content

Commit 4e47bb1

Browse files
authored
Merge pull request #140 from MostroP2P/feat/update-app-identifier
feat: update app identifier
2 parents 1cde1d9 + 8188680 commit 4e47bb1

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
android {
9-
namespace = "com.example.mostro_mobile"
9+
namespace = "network.mostro.app"
1010
compileSdk = 35 // flutter.compileSdkVersion
1111
ndkVersion = "26.3.11579264" //flutter.ndkVersion
1212

@@ -23,7 +23,7 @@ android {
2323

2424
defaultConfig {
2525
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26-
applicationId = "com.example.mostro_mobile"
26+
applicationId = "network.mostro.app"
2727
// You can update the following values to match your application needs.
2828
// For more information, see: https://flutter.dev/to/review-gradle-config.
2929
minSdk = 23 // flutter.minSdkVersion

android/app/src/main/kotlin/com/example/mostro_mobile/MainActivity.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package network.mostro.app
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity()

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
"$(inherited)",
369369
"@executable_path/Frameworks",
370370
);
371-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile;
371+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app;
372372
PRODUCT_NAME = "$(TARGET_NAME)";
373373
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
374374
SWIFT_VERSION = 5.0;
@@ -384,7 +384,7 @@
384384
CURRENT_PROJECT_VERSION = 1;
385385
GENERATE_INFOPLIST_FILE = YES;
386386
MARKETING_VERSION = 1.0;
387-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
387+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
388388
PRODUCT_NAME = "$(TARGET_NAME)";
389389
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
390390
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -401,7 +401,7 @@
401401
CURRENT_PROJECT_VERSION = 1;
402402
GENERATE_INFOPLIST_FILE = YES;
403403
MARKETING_VERSION = 1.0;
404-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
404+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
405405
PRODUCT_NAME = "$(TARGET_NAME)";
406406
SWIFT_VERSION = 5.0;
407407
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -416,7 +416,7 @@
416416
CURRENT_PROJECT_VERSION = 1;
417417
GENERATE_INFOPLIST_FILE = YES;
418418
MARKETING_VERSION = 1.0;
419-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
419+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
420420
PRODUCT_NAME = "$(TARGET_NAME)";
421421
SWIFT_VERSION = 5.0;
422422
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -547,7 +547,7 @@
547547
"$(inherited)",
548548
"@executable_path/Frameworks",
549549
);
550-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile;
550+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app;
551551
PRODUCT_NAME = "$(TARGET_NAME)";
552552
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
553553
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -569,7 +569,7 @@
569569
"$(inherited)",
570570
"@executable_path/Frameworks",
571571
);
572-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile;
572+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app;
573573
PRODUCT_NAME = "$(TARGET_NAME)";
574574
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
575575
SWIFT_VERSION = 5.0;

linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
77
set(BINARY_NAME "mostro_client")
88
# The unique GTK application identifier for this application. See:
99
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
10-
set(APPLICATION_ID "com.example.mostro_mobile")
10+
set(APPLICATION_ID "network.mostro.app")
1111

1212
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
1313
# versions of CMake.

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
GENERATE_INFOPLIST_FILE = YES;
481481
MACOSX_DEPLOYMENT_TARGET = 11.0;
482482
MARKETING_VERSION = 1.0;
483-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
483+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
484484
PRODUCT_NAME = "$(TARGET_NAME)";
485485
SWIFT_VERSION = 5.0;
486486
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mostro_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/mostro_mobile";
@@ -496,7 +496,7 @@
496496
GENERATE_INFOPLIST_FILE = YES;
497497
MACOSX_DEPLOYMENT_TARGET = 11.0;
498498
MARKETING_VERSION = 1.0;
499-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
499+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
500500
PRODUCT_NAME = "$(TARGET_NAME)";
501501
SWIFT_VERSION = 5.0;
502502
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mostro_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/mostro_mobile";
@@ -512,7 +512,7 @@
512512
GENERATE_INFOPLIST_FILE = YES;
513513
MACOSX_DEPLOYMENT_TARGET = 11.0;
514514
MARKETING_VERSION = 1.0;
515-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile.RunnerTests;
515+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app.RunnerTests;
516516
PRODUCT_NAME = "$(TARGET_NAME)";
517517
SWIFT_VERSION = 5.0;
518518
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mostro_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/mostro_mobile";

macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
PRODUCT_NAME = Mostro P2P
99

1010
// The application's bundle identifier
11-
PRODUCT_BUNDLE_IDENTIFIER = com.example.mostroMobile
11+
PRODUCT_BUNDLE_IDENTIFIER = network.mostro.app
1212

1313
// The copyright displayed in application information
14-
PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved.
14+
PRODUCT_COPYRIGHT = Copyright © 2024 network.mostro. All rights reserved.

windows/runner/Runner.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ BEGIN
8989
BEGIN
9090
BLOCK "040904e4"
9191
BEGIN
92-
VALUE "CompanyName", "com.example" "\0"
92+
VALUE "CompanyName", "network.mostro" "\0"
9393
VALUE "FileDescription", "mostro_mobile" "\0"
9494
VALUE "FileVersion", VERSION_AS_STRING "\0"
9595
VALUE "InternalName", "mostro_mobile" "\0"
96-
VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0"
96+
VALUE "LegalCopyright", "Copyright (C) 2024 network.mostro. All rights reserved." "\0"
9797
VALUE "OriginalFilename", "mostro_mobile.exe" "\0"
9898
VALUE "ProductName", "mostro_mobile" "\0"
9999
VALUE "ProductVersion", VERSION_AS_STRING "\0"

0 commit comments

Comments
 (0)