File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 55#import " OneSignal.h"
66#endif
77
8+ #define INIT_DEPRECATION_NOTICE " Objective-C Initialization of the OneSignal SDK has been deprecated. Use JavaScript init instead."
9+
810@interface RCTOneSignal : NSObject <OSSubscriptionObserver, OSEmailSubscriptionObserver>
911
1012+ (RCTOneSignal *) sharedInstance ;
1113
1214- (void )configureWithAppId : (NSString *)appId ;
1315- (void )configureWithAppId : (NSString *)appId settings : (NSDictionary *)settings ;
1416
17+ - (id )initWithLaunchOptions : (NSDictionary *)launchOptions appId : (NSString *)appId settings : (NSDictionary *)settings __deprecated_msg(INIT_DEPRECATION_NOTICE);
18+ - (id )initWithLaunchOptions : (NSDictionary *)launchOptions appId : (NSString *)appId __deprecated_msg(INIT_DEPRECATION_NOTICE);
19+
1520@end
You can’t perform that action at this time.
0 commit comments