Skip to content

Commit 63c3f6a

Browse files
committed
remove react-native-onesignal from iOS app
1 parent cf3942f commit 63c3f6a

File tree

3 files changed

+0
-51
lines changed

3 files changed

+0
-51
lines changed

ios/AllAboutOlaf.xcodeproj/project.pbxproj

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
00E9BA601FBBB58600E0DFCD /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0027B0A71D5C82AA00C2B4FD /* libRNVectorIcons.a */; };
2626
00E9BA611FBBB59900E0DFCD /* libRNDeviceInfo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A9B26591DE3709F00B6A428 /* libRNDeviceInfo.a */; };
2727
00E9BA621FBBB5B200E0DFCD /* libRCTGoogleAnalyticsBridge.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 000296051E270B8A000909F2 /* libRCTGoogleAnalyticsBridge.a */; };
28-
00E9BA631FBBB5BE00E0DFCD /* libRCTOneSignal.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00158A901E4FAE9E00F78C7B /* libRCTOneSignal.a */; };
2928
00E9BA641FBBB5C800E0DFCD /* libRNKeychain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00158AA31E4FAE9E00F78C7B /* libRNKeychain.a */; };
3029
00E9BA651FBBB5CF00E0DFCD /* libSafariViewManager.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 009845C11E5DEE6800194E4A /* libSafariViewManager.a */; };
3130
00E9BA661FBBB5D900E0DFCD /* libDBCustomTabs.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 009845B91E5DEE6800194E4A /* libDBCustomTabs.a */; };
@@ -59,13 +58,6 @@
5958
remoteGlobalIDString = A79185C61C30694E001236A6;
6059
remoteInfo = RCTGoogleAnalyticsBridge;
6160
};
62-
00158A8F1E4FAE9E00F78C7B /* PBXContainerItemProxy */ = {
63-
isa = PBXContainerItemProxy;
64-
containerPortal = 916377371C784A9B8A7A1F5C /* RCTOneSignal.xcodeproj */;
65-
proxyType = 2;
66-
remoteGlobalIDString = 3245CDED1BFEE35C00EABF68;
67-
remoteInfo = RCTOneSignal;
68-
};
6961
00158AA21E4FAE9E00F78C7B /* PBXContainerItemProxy */ = {
7062
isa = PBXContainerItemProxy;
7163
containerPortal = 2560C43708D64866AA01FCC8 /* RNKeychain.xcodeproj */;
@@ -498,7 +490,6 @@
498490
828A2E49D4E3430FB2853AFF /* RNDeviceInfo.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNDeviceInfo.xcodeproj; path = "../node_modules/react-native-device-info/RNDeviceInfo.xcodeproj"; sourceTree = "<group>"; };
499491
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
500492
89FC2AFC0A394CFFAE89242D /* SafariViewManager.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = SafariViewManager.xcodeproj; path = "../node_modules/react-native-safari-view/SafariViewManager.xcodeproj"; sourceTree = "<group>"; };
501-
916377371C784A9B8A7A1F5C /* RCTOneSignal.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTOneSignal.xcodeproj; path = "../node_modules/react-native-onesignal/ios/RCTOneSignal.xcodeproj"; sourceTree = "<group>"; };
502493
A91038679F834707B769D282 /* RNKeychain.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNKeychain.xcodeproj; path = "../node_modules/react-native-keychain/RNKeychain.xcodeproj"; sourceTree = "<group>"; };
503494
C1122D5F37D247E09037EE31 /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = "<group>"; };
504495
CE0A6E16923B40C9930B546C /* ReactNativeCustomTabs.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeCustomTabs.xcodeproj; path = "../node_modules/react-native-custom-tabs/ios/ReactNativeCustomTabs.xcodeproj"; sourceTree = "<group>"; };
@@ -540,7 +531,6 @@
540531
00E9BA601FBBB58600E0DFCD /* libRNVectorIcons.a in Frameworks */,
541532
00E9BA611FBBB59900E0DFCD /* libRNDeviceInfo.a in Frameworks */,
542533
00E9BA621FBBB5B200E0DFCD /* libRCTGoogleAnalyticsBridge.a in Frameworks */,
543-
00E9BA631FBBB5BE00E0DFCD /* libRCTOneSignal.a in Frameworks */,
544534
00E9BA641FBBB5C800E0DFCD /* libRNKeychain.a in Frameworks */,
545535
00E9BA651FBBB5CF00E0DFCD /* libSafariViewManager.a in Frameworks */,
546536
00E9BA661FBBB5D900E0DFCD /* libDBCustomTabs.a in Frameworks */,
@@ -574,14 +564,6 @@
574564
name = Products;
575565
sourceTree = "<group>";
576566
};
577-
00158A811E4FAE9E00F78C7B /* Products */ = {
578-
isa = PBXGroup;
579-
children = (
580-
00158A901E4FAE9E00F78C7B /* libRCTOneSignal.a */,
581-
);
582-
name = Products;
583-
sourceTree = "<group>";
584-
};
585567
0015CC921FC21C33009C3A73 /* Products */ = {
586568
isa = PBXGroup;
587569
children = (
@@ -873,7 +855,6 @@
873855
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
874856
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
875857
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
876-
916377371C784A9B8A7A1F5C /* RCTOneSignal.xcodeproj */,
877858
DBE3B3C3883845C787D391C2 /* RCTRestart.xcodeproj */,
878859
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
879860
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
@@ -1046,10 +1027,6 @@
10461027
ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
10471028
ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
10481029
},
1049-
{
1050-
ProductGroup = 00158A811E4FAE9E00F78C7B /* Products */;
1051-
ProjectRef = 916377371C784A9B8A7A1F5C /* RCTOneSignal.xcodeproj */;
1052-
},
10531030
{
10541031
ProductGroup = 006118441EE51CD100638440 /* Products */;
10551032
ProjectRef = DBE3B3C3883845C787D391C2 /* RCTRestart.xcodeproj */;
@@ -1135,13 +1112,6 @@
11351112
remoteRef = 000296041E270B8A000909F2 /* PBXContainerItemProxy */;
11361113
sourceTree = BUILT_PRODUCTS_DIR;
11371114
};
1138-
00158A901E4FAE9E00F78C7B /* libRCTOneSignal.a */ = {
1139-
isa = PBXReferenceProxy;
1140-
fileType = archive.ar;
1141-
path = libRCTOneSignal.a;
1142-
remoteRef = 00158A8F1E4FAE9E00F78C7B /* PBXContainerItemProxy */;
1143-
sourceTree = BUILT_PRODUCTS_DIR;
1144-
};
11451115
00158AA31E4FAE9E00F78C7B /* libRNKeychain.a */ = {
11461116
isa = PBXReferenceProxy;
11471117
fileType = archive.ar;
@@ -1669,10 +1639,8 @@
16691639
"$(SRCROOT)/../node_modules/react-native/ReactCommon/**",
16701640
"$(SRCROOT)/../node_modules/react-native-keychain/RNKeychainManager",
16711641
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1672-
"$(SRCROOT)/../node_modules/react-native-onesignal/**",
16731642
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
16741643
"$(SRCROOT)/../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
1675-
"$(SRCROOT)/../node_modules/react-native-onesignal/ios/**",
16761644
"$(SRCROOT)/../node_modules/react-native-safari-view",
16771645
"$(SRCROOT)/../node_modules/react-native-custom-tabs/ios/ReactNativeCustomTabs",
16781646
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
@@ -1717,10 +1685,8 @@
17171685
"$(SRCROOT)/../node_modules/react-native/ReactCommon/**",
17181686
"$(SRCROOT)/../node_modules/react-native-keychain/RNKeychainManager",
17191687
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1720-
"$(SRCROOT)/../node_modules/react-native-onesignal/**",
17211688
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
17221689
"$(SRCROOT)/../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
1723-
"$(SRCROOT)/../node_modules/react-native-onesignal/ios/**",
17241690
"$(SRCROOT)/../node_modules/react-native-safari-view",
17251691
"$(SRCROOT)/../node_modules/react-native-custom-tabs/ios/ReactNativeCustomTabs",
17261692
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
@@ -1802,7 +1768,6 @@
18021768
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
18031769
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
18041770
"$(SRCROOT)/../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
1805-
"$(SRCROOT)/../node_modules/react-native-onesignal/ios/**",
18061771
"$(SRCROOT)/../node_modules/react-native-safari-view",
18071772
"$(SRCROOT)/../node_modules/react-native-custom-tabs/ios/ReactNativeCustomTabs",
18081773
);
@@ -1860,7 +1825,6 @@
18601825
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
18611826
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
18621827
"$(SRCROOT)/../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
1863-
"$(SRCROOT)/../node_modules/react-native-onesignal/ios/**",
18641828
"$(SRCROOT)/../node_modules/react-native-safari-view",
18651829
"$(SRCROOT)/../node_modules/react-native-custom-tabs/ios/ReactNativeCustomTabs",
18661830
);

ios/AllAboutOlaf/AppDelegate.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
*/
99

1010
#import <UIKit/UIKit.h>
11-
#import <RCTOneSignal.h>
1211

1312
@interface AppDelegate : UIResponder <UIApplicationDelegate>
1413

1514
@property (nonatomic, strong) UIWindow *window;
16-
@property (strong, nonatomic) RCTOneSignal* oneSignal;
1715

1816
@end

ios/AllAboutOlaf/AppDelegate.m

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414
#import <React/RCTBundleURLProvider.h>
1515
#import <React/RCTRootView.h>
1616

17-
#import "RCTOneSignal.h"
18-
1917
@implementation AppDelegate
2018

21-
@synthesize oneSignal = _oneSignal;
22-
2319
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
2420
{
2521
NSURL *jsCodeLocation;
@@ -47,10 +43,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4743

4844
rootView.loadingView = loadingViewController.view;
4945

50-
self.oneSignal = [[RCTOneSignal alloc] initWithLaunchOptions:launchOptions
51-
appId:@"aa46a500-ab1c-4127-b9ff-e7373da3ce35"
52-
settings:@{kOSSettingsKeyAutoPrompt: @false}];
53-
5446
// set up the requests cacher
5547
NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:4 * 1024 * 1024 // 4 MiB
5648
diskCapacity:20 * 1024 * 1024 // 20 MiB
@@ -63,9 +55,4 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
6355
return YES;
6456
}
6557

66-
// Required for the notification event.
67-
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification {
68-
[RCTOneSignal didReceiveRemoteNotification:notification];
69-
}
70-
7158
@end

0 commit comments

Comments
 (0)