You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delay Notification Opened Check in Objective-C Plugin
• Delays the check to see if a notification was opened after init. This is intended to prevent situations where the developer synchronously adds the NotificationOpened handler *after* calling OneSignal.init().
• Since the SDK is checking to see if a notification was opened on cold start AND synchronously calls the handler during the init() call, this would result in apps that add the observers after calling init() not getting cold-start notification opened events.
• Switches to passing in false as the default autoPrompt setting on the first call to init() (which happens before the Flutter SDK initializes and the developer calls init() with their real app ID).
• Implements the kOSSettingsKeyInOmitNoAppIdLogging setting. Since the SDK calls init() twice, the first time it passes in nil as the app ID (this happens before the Flutter channel is set up). To prevent the SDK from logging a "no appID" error, we pass in the kOSSettingsKeyInOmitNoAppIdLogging setting
0 commit comments