Skip to content

Commit 680ff4b

Browse files
committed
refactor: rename RCTOneSignal.m to .mm for new arch
1 parent ace7a61 commit 680ff4b

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

examples/demo/bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"setup": "../setup.sh",
77
"preandroid": "bun run setup",
88
"preios": "bun run setup",
9-
"android": "bash ../run-android",
10-
"ios": "bash ../run-ios",
9+
"android": "bash ../run-android.sh",
10+
"ios": "bash ../run-ios.sh",
1111
"lint": "eslint .",
1212
"start": "react-native start",
1313
"test": "jest"

examples/run-android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DON'T RUN THIS FILE DIRECTLY, USE THE run-ios.sh FILE IN THE DEMO APP
12
#!/bin/bash
23
set -e
34

examples/run-ios.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DON'T RUN THIS FILE DIRECTLY, USE THE run-ios.sh FILE IN THE DEMO APP
12
#!/bin/bash
23
set -e
34

ios/RCTOneSignal.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CAADD42720B3791A0089D086 /* OneSignal.h in Copy Headers */ = {isa = PBXBuildFile; fileRef = CAADD42520B379060089D086 /* OneSignal.h */; };
1919
CACB39D6202D232A00D86CD1 /* RCTOneSignalEventEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = CACB39D5202D232A00D86CD1 /* RCTOneSignalEventEmitter.m */; };
2020
FD2CCC851C772B4200B2B24E /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD2CCC841C772B4200B2B24E /* SystemConfiguration.framework */; };
21-
FDB40CC41C5E4E5500CBF09B /* RCTOneSignal.m in Sources */ = {isa = PBXBuildFile; fileRef = FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.m */; };
21+
FDB40CC41C5E4E5500CBF09B /* RCTOneSignal.mm in Sources */ = {isa = PBXBuildFile; fileRef = FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.mm */; };
2222
/* End PBXBuildFile section */
2323

2424
/* Begin PBXCopyFilesBuildPhase section */
@@ -48,7 +48,7 @@
4848
CACB39D5202D232A00D86CD1 /* RCTOneSignalEventEmitter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTOneSignalEventEmitter.m; sourceTree = "<group>"; };
4949
FD2CCC841C772B4200B2B24E /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
5050
FDB40CC21C5E4E5500CBF09B /* RCTOneSignal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTOneSignal.h; sourceTree = "<group>"; };
51-
FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTOneSignal.m; sourceTree = "<group>"; };
51+
FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RCTOneSignal.mm; sourceTree = "<group>"; };
5252
/* End PBXFileReference section */
5353

5454
/* Begin PBXFrameworksBuildPhase section */
@@ -86,7 +86,7 @@
8686
isa = PBXGroup;
8787
children = (
8888
FDB40CC21C5E4E5500CBF09B /* RCTOneSignal.h */,
89-
FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.m */,
89+
FDB40CC31C5E4E5500CBF09B /* RCTOneSignal.mm */,
9090
CACB39D4202D232A00D86CD1 /* RCTOneSignalEventEmitter.h */,
9191
CACB39D5202D232A00D86CD1 /* RCTOneSignalEventEmitter.m */,
9292
CA1CC866200FE3C3005B66AA /* RCTOneSignalExtensionService.h */,
@@ -178,7 +178,7 @@
178178
CACB39D6202D232A00D86CD1 /* RCTOneSignalEventEmitter.m in Sources */,
179179
CA63F32E20ACFD60009AE90F /* UIApplication+RCTOnesignal.m in Sources */,
180180
CA1CC868200FE3C3005B66AA /* RCTOneSignalExtensionService.m in Sources */,
181-
FDB40CC41C5E4E5500CBF09B /* RCTOneSignal.m in Sources */,
181+
FDB40CC41C5E4E5500CBF09B /* RCTOneSignal.mm in Sources */,
182182
);
183183
runOnlyForDeploymentPostprocessing = 0;
184184
};

0 commit comments

Comments
 (0)