Skip to content

Commit d15d403

Browse files
authored
Merge pull request #1375 from OneSignal/rename_app_store_flagged_method
Rename internal method to workaround false App Store flagging
2 parents d874eca + bf0fe74 commit d15d403

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

iOS_SDK/OneSignalSDK/OneSignalCore/Source/OSDialogInstanceManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ typedef void (^OSDialogActionCompletion)(int tappedActionIndex);
3535
@end
3636

3737
@interface OSDialogInstanceManager : NSObject
38-
+ (void)setSharedInstance:(NSObject<OSDialogPresenter> *_Nonnull)instance;
38+
+ (void)setSharedOSDialogInstance:(NSObject<OSDialogPresenter> *_Nonnull)instance;
3939
+ (NSObject<OSDialogPresenter> *_Nullable)sharedInstance;
4040
@end

iOS_SDK/OneSignalSDK/OneSignalCore/Source/OSDialogInstanceManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
3030
@implementation OSDialogInstanceManager
3131

3232
static NSObject<OSDialogPresenter> *_sharedInstance;
33-
+ (void)setSharedInstance:(NSObject<OSDialogPresenter> *_Nonnull)instance {
33+
+ (void)setSharedOSDialogInstance:(NSObject<OSDialogPresenter> *_Nonnull)instance {
3434
_sharedInstance = instance;
3535
}
3636

iOS_SDK/OneSignalSDK/Source/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ + (void)load {
789789
// sessionLaunchTime = [NSDate date];
790790
// TODO: sessionLaunchTime used to always be set in load
791791

792-
[OSDialogInstanceManager setSharedInstance:[OneSignalDialogController sharedInstance]];
792+
[OSDialogInstanceManager setSharedOSDialogInstance:[OneSignalDialogController sharedInstance]];
793793
}
794794

795795
/*

0 commit comments

Comments
 (0)