Releases: OneSignal/OneSignal-iOS-SDK
Releases · OneSignal/OneSignal-iOS-SDK
2.5.7 Release
2.5.6 Release
iOS 11.0 - Wrapper SDKs - Cold Start open event
- Fixes notification open event not firing on cold start on iOS 11 for some wrapper SDKs
- Cordova, Unity, and possibility others
- Note, doesn't effect native apps as the issue was related to using init with a nil app_id
2.5.5 Release
2.5.4 Release
Misc Fixes
- Added
toDictionaryto state classes NSLocalizedStringis now used on the in app alert"Close"button so it can be localized by a.stringsfile.
2.5.3 Release
Tags Methods and Other Misc fixes
2.5.2 Release
Xcode 8.2 Bitcode and kOSSettingsKeyInFocusDisplayOption Fixes
- Fixed issue where
kOSSettingsKeyInFocusDisplayOptionwas ignored. - Fixed bitcode not working on Xcode 8.2 and older.
2.5.1 Release
Method calls before init fixes & method name fix
- Fixed crash when calling
setSubscriptionbeforeinitWithLaunchOptions. - Fixed issue with device not subscribing if promptForPushNotificationsWithUserResponse was called before initWithLaunchOptions
- Corrected
promptForPushNotificationsWithUserResponsemethod name.
2.5.0 Release
Permission and Subscription methods + Misc fixes & Improvements
New methods
getPermissionSubscriptionState- Returns an object with permission and subscription instances with:
subscription.userId,subscription.pushToken,subscription.useSubscriptionSettings,permission.hasPrompted,permission.status
addPermissionObserveronPermissionChangedwill fire when user changes iOS notification settings.- Includes Accepting, Declining, Prompting, and toggling iOS notifications in Settings after going back to the app.
addSubscriptionObserveronSubscriptionChangedwill fire when notification subscription properties change.- Includes
userId,pushToken,userSubscriptionSettings, andsubscribed
promptForPushNotificationWithUserResponse:method. Use instead ofregisterForPushNotifications. This new method accepts a callback that will fire when the prompt is answered.- Added
inFocusDisplayTypeproperty. Use instead ofkOSSettingsKeyInFocusDisplayOption. This new property can be set at anytime in your app.
Documentation:
See the OneSignal SDK API documentation for full details on the new methods listed above.
Improvements
- Can now set
app_idas part of the payload topostNotificationto send to another app. - Fixed extra network calls in some edge cases.
Fixes
2.4.3 Release
Additional unsubscribed statuses and sendTag(s) fix
- Added 2 new dashboard unsubscribed status for permission prompt states
- Never Prompted
- Prompted but never answered.
- Fixed bug where tag methods would not work if device didn't finish registration.
- regression bug in 2.4.1
2.4.2 Release
- Name fix in didReceiveNotificationExtensionRequest
- Cleaned up compiler warnings