Skip to content

Commit a9d3bf1

Browse files
VailenceVailence
andauthored
Update Example with new project data
Updated BundleId and AppGroup (#110) Co-authored-by: Vailence <[email protected]>
1 parent d9caffe commit a9d3bf1

File tree

5 files changed

+37
-27
lines changed

5 files changed

+37
-27
lines changed

example/exampleApp/ios/MindboxNotificationContentExtension/Info.plist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
<dict>
55
<key>NSExtension</key>
66
<dict>
7-
<key>NSExtensionPrincipalClass</key>
8-
<string>MindboxNotificationContentExtension.NotificationViewController</string>
97
<key>NSExtensionAttributes</key>
108
<dict>
11-
<key>UNNotificationExtensionUserInteractionEnabled</key>
12-
<string>1</string>
139
<key>UNNotificationExtensionCategory</key>
1410
<string>MindBoxCategoryIdentifier</string>
1511
<key>UNNotificationExtensionInitialContentSizeRatio</key>
1612
<real>0.0001</real>
13+
<key>UNNotificationExtensionUserInteractionEnabled</key>
14+
<string>1</string>
1715
</dict>
1816
<key>NSExtensionPointIdentifier</key>
1917
<string>com.apple.usernotifications.content-extension</string>
18+
<key>NSExtensionPrincipalClass</key>
19+
<string>MindboxNotificationContentExtension.NotificationViewController</string>
2020
</dict>
2121
</dict>
2222
</plist>

example/exampleApp/ios/MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<dict>
55
<key>com.apple.security.application-groups</key>
66
<array>
7-
<string>group.cloud.Mindbox.com.mindbox.exampleRN</string>
7+
<string>group.cloud.Mindbox.mindbox.RN.Example</string>
88
</array>
99
</dict>
1010
</plist>

example/exampleApp/ios/MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<true/>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>group.cloud.Mindbox.com.mindbox.exampleRN</string>
9+
<string>group.cloud.Mindbox.mindbox.RN.Example</string>
1010
</array>
1111
</dict>
1212
</plist>

example/exampleApp/ios/exampleApp.xcodeproj/project.pbxproj

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,14 @@
393393
inputFileListPaths = (
394394
"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
395395
);
396+
inputPaths = (
397+
);
396398
name = "[CP] Embed Pods Frameworks";
397399
outputFileListPaths = (
398400
"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
399401
);
402+
outputPaths = (
403+
);
400404
runOnlyForDeploymentPostprocessing = 0;
401405
shellPath = /bin/sh;
402406
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-frameworks.sh\"\n";
@@ -410,10 +414,14 @@
410414
inputFileListPaths = (
411415
"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-resources-${CONFIGURATION}-input-files.xcfilelist",
412416
);
417+
inputPaths = (
418+
);
413419
name = "[CP] Copy Pods Resources";
414420
outputFileListPaths = (
415421
"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-resources-${CONFIGURATION}-output-files.xcfilelist",
416422
);
423+
outputPaths = (
424+
);
417425
runOnlyForDeploymentPostprocessing = 0;
418426
shellPath = /bin/sh;
419427
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-exampleApp/Pods-exampleApp-resources.sh\"\n";
@@ -427,10 +435,14 @@
427435
inputFileListPaths = (
428436
"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationContentExtension/Pods-exampleApp-MindboxNotificationContentExtension-resources-${CONFIGURATION}-input-files.xcfilelist",
429437
);
438+
inputPaths = (
439+
);
430440
name = "[CP] Copy Pods Resources";
431441
outputFileListPaths = (
432442
"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationContentExtension/Pods-exampleApp-MindboxNotificationContentExtension-resources-${CONFIGURATION}-output-files.xcfilelist",
433443
);
444+
outputPaths = (
445+
);
434446
runOnlyForDeploymentPostprocessing = 0;
435447
shellPath = /bin/sh;
436448
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationContentExtension/Pods-exampleApp-MindboxNotificationContentExtension-resources.sh\"\n";
@@ -488,10 +500,14 @@
488500
inputFileListPaths = (
489501
"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationServiceExtension/Pods-exampleApp-MindboxNotificationServiceExtension-resources-${CONFIGURATION}-input-files.xcfilelist",
490502
);
503+
inputPaths = (
504+
);
491505
name = "[CP] Copy Pods Resources";
492506
outputFileListPaths = (
493507
"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationServiceExtension/Pods-exampleApp-MindboxNotificationServiceExtension-resources-${CONFIGURATION}-output-files.xcfilelist",
494508
);
509+
outputPaths = (
510+
);
495511
runOnlyForDeploymentPostprocessing = 0;
496512
shellPath = /bin/sh;
497513
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-exampleApp-MindboxNotificationServiceExtension/Pods-exampleApp-MindboxNotificationServiceExtension-resources.sh\"\n";
@@ -578,7 +594,7 @@
578594
CODE_SIGN_IDENTITY = "Apple Development";
579595
CODE_SIGN_STYLE = Automatic;
580596
CURRENT_PROJECT_VERSION = 1;
581-
DEVELOPMENT_TEAM = N39VVWZXXP;
597+
DEVELOPMENT_TEAM = 622436AMYX;
582598
ENABLE_BITCODE = NO;
583599
INFOPLIST_FILE = exampleApp/Info.plist;
584600
LD_RUNPATH_SEARCH_PATHS = (
@@ -591,7 +607,7 @@
591607
"-ObjC",
592608
"-lc++",
593609
);
594-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN;
610+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example;
595611
PRODUCT_NAME = exampleApp;
596612
PROVISIONING_PROFILE_SPECIFIER = "";
597613
SWIFT_OBJC_BRIDGING_HEADER = "exampleApp-Bridging-Header.h";
@@ -612,7 +628,7 @@
612628
CODE_SIGN_IDENTITY = "Apple Development";
613629
CODE_SIGN_STYLE = Automatic;
614630
CURRENT_PROJECT_VERSION = 1;
615-
DEVELOPMENT_TEAM = N39VVWZXXP;
631+
DEVELOPMENT_TEAM = 622436AMYX;
616632
INFOPLIST_FILE = exampleApp/Info.plist;
617633
LD_RUNPATH_SEARCH_PATHS = (
618634
"$(inherited)",
@@ -624,7 +640,7 @@
624640
"-ObjC",
625641
"-lc++",
626642
);
627-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN;
643+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example;
628644
PRODUCT_NAME = exampleApp;
629645
PROVISIONING_PROFILE_SPECIFIER = "";
630646
SWIFT_OBJC_BRIDGING_HEADER = "exampleApp-Bridging-Header.h";
@@ -650,7 +666,7 @@
650666
CODE_SIGN_STYLE = Automatic;
651667
CURRENT_PROJECT_VERSION = 1;
652668
DEBUG_INFORMATION_FORMAT = dwarf;
653-
DEVELOPMENT_TEAM = N39VVWZXXP;
669+
DEVELOPMENT_TEAM = 622436AMYX;
654670
ENABLE_USER_SCRIPT_SANDBOXING = NO;
655671
GCC_C_LANGUAGE_STANDARD = gnu17;
656672
GENERATE_INFOPLIST_FILE = YES;
@@ -667,7 +683,7 @@
667683
MARKETING_VERSION = 1.0;
668684
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
669685
MTL_FAST_MATH = YES;
670-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN.MindboxNotificationServiceExtension;
686+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example.ServiceExtension;
671687
PRODUCT_NAME = "$(TARGET_NAME)";
672688
SKIP_INSTALL = YES;
673689
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
@@ -697,7 +713,7 @@
697713
COPY_PHASE_STRIP = NO;
698714
CURRENT_PROJECT_VERSION = 1;
699715
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
700-
DEVELOPMENT_TEAM = N39VVWZXXP;
716+
DEVELOPMENT_TEAM = 622436AMYX;
701717
ENABLE_USER_SCRIPT_SANDBOXING = NO;
702718
GCC_C_LANGUAGE_STANDARD = gnu17;
703719
GENERATE_INFOPLIST_FILE = YES;
@@ -713,7 +729,7 @@
713729
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
714730
MARKETING_VERSION = 1.0;
715731
MTL_FAST_MATH = YES;
716-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN.MindboxNotificationServiceExtension;
732+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example.ServiceExtension;
717733
PRODUCT_NAME = "$(TARGET_NAME)";
718734
SKIP_INSTALL = YES;
719735
SWIFT_COMPILATION_MODE = wholemodule;
@@ -741,7 +757,7 @@
741757
CODE_SIGN_STYLE = Automatic;
742758
CURRENT_PROJECT_VERSION = 1;
743759
DEBUG_INFORMATION_FORMAT = dwarf;
744-
DEVELOPMENT_TEAM = N39VVWZXXP;
760+
DEVELOPMENT_TEAM = 622436AMYX;
745761
ENABLE_USER_SCRIPT_SANDBOXING = NO;
746762
GCC_C_LANGUAGE_STANDARD = gnu17;
747763
GENERATE_INFOPLIST_FILE = YES;
@@ -758,7 +774,7 @@
758774
MARKETING_VERSION = 1.0;
759775
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
760776
MTL_FAST_MATH = YES;
761-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN.MindboxNotificationContentExtension;
777+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example.ContentExtension;
762778
PRODUCT_NAME = "$(TARGET_NAME)";
763779
SKIP_INSTALL = YES;
764780
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
@@ -787,7 +803,7 @@
787803
COPY_PHASE_STRIP = NO;
788804
CURRENT_PROJECT_VERSION = 1;
789805
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
790-
DEVELOPMENT_TEAM = N39VVWZXXP;
806+
DEVELOPMENT_TEAM = 622436AMYX;
791807
ENABLE_USER_SCRIPT_SANDBOXING = NO;
792808
GCC_C_LANGUAGE_STANDARD = gnu17;
793809
GENERATE_INFOPLIST_FILE = YES;
@@ -803,7 +819,7 @@
803819
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
804820
MARKETING_VERSION = 1.0;
805821
MTL_FAST_MATH = YES;
806-
PRODUCT_BUNDLE_IDENTIFIER = com.mindbox.exampleRN.MindboxNotificationContentExtension;
822+
PRODUCT_BUNDLE_IDENTIFIER = mindbox.RN.Example.ContentExtension;
807823
PRODUCT_NAME = "$(TARGET_NAME)";
808824
SKIP_INSTALL = YES;
809825
SWIFT_COMPILATION_MODE = wholemodule;
@@ -882,10 +898,7 @@
882898
"-DFOLLY_USE_LIBCPP=1",
883899
"-DFOLLY_CFG_NO_COROUTINES=1",
884900
);
885-
OTHER_LDFLAGS = (
886-
"$(inherited)",
887-
" ",
888-
);
901+
OTHER_LDFLAGS = "$(inherited) ";
889902
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
890903
SDKROOT = iphoneos;
891904
USE_HERMES = true;
@@ -953,10 +966,7 @@
953966
"-DFOLLY_USE_LIBCPP=1",
954967
"-DFOLLY_CFG_NO_COROUTINES=1",
955968
);
956-
OTHER_LDFLAGS = (
957-
"$(inherited)",
958-
" ",
959-
);
969+
OTHER_LDFLAGS = "$(inherited) ";
960970
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
961971
SDKROOT = iphoneos;
962972
USE_HERMES = true;

example/exampleApp/ios/exampleApp/exampleApp.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<string>development</string>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>group.cloud.Mindbox.com.mindbox.exampleRN</string>
9+
<string>group.cloud.Mindbox.mindbox.RN.Example</string>
1010
</array>
1111
</dict>
1212
</plist>

0 commit comments

Comments
 (0)