Skip to content

Commit 73d1819

Browse files
committed
update more files
1 parent 1f278a5 commit 73d1819

File tree

3 files changed

+36
-10
lines changed

3 files changed

+36
-10
lines changed

examples/RNOneSignalTS/ios/OneSignalNotificationServiceExtension/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@
99
<key>NSExtensionPrincipalClass</key>
1010
<string>$(PRODUCT_MODULE_NAME).NotificationService</string>
1111
</dict>
12+
<key>RCTNewArchEnabled</key>
13+
<true/>
1214
</dict>
1315
</plist>

examples/RNOneSignalTS/ios/Podfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,7 @@ DEPENDENCIES:
25272527
- fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`)
25282528
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
25292529
- hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
2530+
- OneSignalXCFramework (< 6.0, >= 5.0.0)
25302531
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
25312532
- RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`)
25322533
- RCTRequired (from `../node_modules/react-native/Libraries/Required`)
@@ -2839,6 +2840,6 @@ SPEC CHECKSUMS:
28392840
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
28402841
Yoga: 689c8e04277f3ad631e60fe2a08e41d411daf8eb
28412842

2842-
PODFILE CHECKSUM: 55f78c40d4a0661b8ccbf5604f1cf5b702ca4ea4
2843+
PODFILE CHECKSUM: 6ac3d17bc5c92580526c5376b6d35aacda108018
28432844

28442845
COCOAPODS: 1.16.2

examples/RNOneSignalTS/ios/RNOneSignalTS.xcodeproj/project.pbxproj

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
0C80B921A6F3F58F76C31292 /* libPods-RNOneSignalTS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-RNOneSignalTS.a */; };
1111
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12+
71D531BDB059DCF562EBBB5C /* libPods-OneSignalNotificationServiceExtension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0345CAE37CB3637F1C837F29 /* libPods-OneSignalNotificationServiceExtension.a */; };
1213
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1314
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1415
8BAB3060F53DE1EC7C3F4C0F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
@@ -40,15 +41,18 @@
4041
/* End PBXCopyFilesBuildPhase section */
4142

4243
/* Begin PBXFileReference section */
44+
0345CAE37CB3637F1C837F29 /* libPods-OneSignalNotificationServiceExtension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OneSignalNotificationServiceExtension.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4345
13B07F961A680F5B00A75B9A /* RNOneSignalTS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNOneSignalTS.app; sourceTree = BUILT_PRODUCTS_DIR; };
4446
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNOneSignalTS/Images.xcassets; sourceTree = "<group>"; };
4547
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNOneSignalTS/Info.plist; sourceTree = "<group>"; };
4648
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = RNOneSignalTS/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
4749
3B4392A12AC88292D35C810B /* Pods-RNOneSignalTS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNOneSignalTS.debug.xcconfig"; path = "Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS.debug.xcconfig"; sourceTree = "<group>"; };
4850
5709B34CF0A7D63546082F79 /* Pods-RNOneSignalTS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNOneSignalTS.release.xcconfig"; path = "Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS.release.xcconfig"; sourceTree = "<group>"; };
4951
5DCACB8F33CDC322A6C60F78 /* libPods-RNOneSignalTS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNOneSignalTS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
52+
738FBF223908AF32EAFC2FC9 /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalNotificationServiceExtension.release.xcconfig"; path = "Target Support Files/Pods-OneSignalNotificationServiceExtension/Pods-OneSignalNotificationServiceExtension.release.xcconfig"; sourceTree = "<group>"; };
5053
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = RNOneSignalTS/AppDelegate.swift; sourceTree = "<group>"; };
5154
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNOneSignalTS/LaunchScreen.storyboard; sourceTree = "<group>"; };
55+
9BB27FA4C31186102C7BEF1F /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalNotificationServiceExtension.debug.xcconfig"; path = "Target Support Files/Pods-OneSignalNotificationServiceExtension/Pods-OneSignalNotificationServiceExtension.debug.xcconfig"; sourceTree = "<group>"; };
5256
E816AD882E84A044009D8C37 /* RNOneSignalTS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNOneSignalTS.entitlements; path = RNOneSignalTS/RNOneSignalTS.entitlements; sourceTree = "<group>"; };
5357
E8EFD71E2EE8DE2A00D4BE2B /* OneSignalNotificationServiceExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = OneSignalNotificationServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
5458
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -88,6 +92,7 @@
8892
isa = PBXFrameworksBuildPhase;
8993
buildActionMask = 2147483647;
9094
files = (
95+
71D531BDB059DCF562EBBB5C /* libPods-OneSignalNotificationServiceExtension.a in Frameworks */,
9196
);
9297
runOnlyForDeploymentPostprocessing = 0;
9398
};
@@ -112,6 +117,7 @@
112117
children = (
113118
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
114119
5DCACB8F33CDC322A6C60F78 /* libPods-RNOneSignalTS.a */,
120+
0345CAE37CB3637F1C837F29 /* libPods-OneSignalNotificationServiceExtension.a */,
115121
);
116122
name = Frameworks;
117123
sourceTree = "<group>";
@@ -152,6 +158,8 @@
152158
children = (
153159
3B4392A12AC88292D35C810B /* Pods-RNOneSignalTS.debug.xcconfig */,
154160
5709B34CF0A7D63546082F79 /* Pods-RNOneSignalTS.release.xcconfig */,
161+
9BB27FA4C31186102C7BEF1F /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */,
162+
738FBF223908AF32EAFC2FC9 /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */,
155163
);
156164
path = Pods;
157165
sourceTree = "<group>";
@@ -186,6 +194,7 @@
186194
isa = PBXNativeTarget;
187195
buildConfigurationList = E8EFD7272EE8DE2A00D4BE2B /* Build configuration list for PBXNativeTarget "OneSignalNotificationServiceExtension" */;
188196
buildPhases = (
197+
718F79E900F4F05FA94C4348 /* [CP] Check Pods Manifest.lock */,
189198
E8EFD71A2EE8DE2A00D4BE2B /* Sources */,
190199
E8EFD71B2EE8DE2A00D4BE2B /* Frameworks */,
191200
E8EFD71C2EE8DE2A00D4BE2B /* Resources */,
@@ -198,8 +207,6 @@
198207
E8EFD71F2EE8DE2A00D4BE2B /* OneSignalNotificationServiceExtension */,
199208
);
200209
name = OneSignalNotificationServiceExtension;
201-
packageProductDependencies = (
202-
);
203210
productName = OneSignalNotificationServiceExtension;
204211
productReference = E8EFD71E2EE8DE2A00D4BE2B /* OneSignalNotificationServiceExtension.appex */;
205212
productType = "com.apple.product-type.app-extension";
@@ -285,17 +292,35 @@
285292
inputFileListPaths = (
286293
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-input-files.xcfilelist",
287294
);
288-
inputPaths = (
289-
);
290295
name = "[CP] Embed Pods Frameworks";
291296
outputFileListPaths = (
292297
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-output-files.xcfilelist",
293298
);
299+
runOnlyForDeploymentPostprocessing = 0;
300+
shellPath = /bin/sh;
301+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks.sh\"\n";
302+
showEnvVarsInLog = 0;
303+
};
304+
718F79E900F4F05FA94C4348 /* [CP] Check Pods Manifest.lock */ = {
305+
isa = PBXShellScriptBuildPhase;
306+
buildActionMask = 2147483647;
307+
files = (
308+
);
309+
inputFileListPaths = (
310+
);
311+
inputPaths = (
312+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
313+
"${PODS_ROOT}/Manifest.lock",
314+
);
315+
name = "[CP] Check Pods Manifest.lock";
316+
outputFileListPaths = (
317+
);
294318
outputPaths = (
319+
"$(DERIVED_FILE_DIR)/Pods-OneSignalNotificationServiceExtension-checkManifestLockResult.txt",
295320
);
296321
runOnlyForDeploymentPostprocessing = 0;
297322
shellPath = /bin/sh;
298-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks.sh\"\n";
323+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
299324
showEnvVarsInLog = 0;
300325
};
301326
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
@@ -328,14 +353,10 @@
328353
inputFileListPaths = (
329354
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-input-files.xcfilelist",
330355
);
331-
inputPaths = (
332-
);
333356
name = "[CP] Copy Pods Resources";
334357
outputFileListPaths = (
335358
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-output-files.xcfilelist",
336359
);
337-
outputPaths = (
338-
);
339360
runOnlyForDeploymentPostprocessing = 0;
340361
shellPath = /bin/sh;
341362
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources.sh\"\n";
@@ -574,6 +595,7 @@
574595
};
575596
E8EFD7282EE8DE2A00D4BE2B /* Debug */ = {
576597
isa = XCBuildConfiguration;
598+
baseConfigurationReference = 9BB27FA4C31186102C7BEF1F /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */;
577599
buildSettings = {
578600
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
579601
CLANG_ANALYZER_NONNULL = YES;
@@ -619,6 +641,7 @@
619641
};
620642
E8EFD7292EE8DE2A00D4BE2B /* Release */ = {
621643
isa = XCBuildConfiguration;
644+
baseConfigurationReference = 738FBF223908AF32EAFC2FC9 /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */;
622645
buildSettings = {
623646
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
624647
CLANG_ANALYZER_NONNULL = YES;

0 commit comments

Comments
 (0)