Skip to content

Commit

Permalink
Remove setLaunchOptions from OneSignal header
Browse files Browse the repository at this point in the history
* This was added to the OneSignalFramework header file to expose to wrappers.
* However, wrappers do not actually use this because they must initialize the SDK (not sufficient to only set launch options) so cold start click listeners can be triggered.
* Remove from header so it is not misleading, which suggests it is used.
  • Loading branch information
nan-li committed Aug 6, 2024
1 parent 966d072 commit d2eca16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iOS_SDK/OneSignalSDK/Source/OneSignalFramework.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ NS_SWIFT_NAME(login(externalId:token:));
+ (Class<OSNotifications>)Notifications NS_REFINED_FOR_SWIFT;

#pragma mark Initialization
+ (void)setLaunchOptions:(nullable NSDictionary*)newLaunchOptions; // meant for use by wrappers
+ (void)initialize:(nonnull NSString*)newAppId withLaunchOptions:(nullable NSDictionary*)launchOptions;
+ (void)setProvidesNotificationSettingsView:(BOOL)providesView;

Expand Down

0 comments on commit d2eca16

Please sign in to comment.