Skip to content

Releases: OneSignal/OneSignal-iOS-SDK

2.5.7 Release

08 Nov 01:29

Choose a tag to compare

Rare iOS 11 crash & Xcode 8 bit code

  • Fixes rare crash pointing to class_getSuperclass. Issues #293 and #278
  • Fixed compatibility with Bitcode with Xcode 8.x. Issue #289

2.5.6 Release

07 Oct 00:28

Choose a tag to compare

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

05 Oct 21:51

Choose a tag to compare

Fixes rare startup crash on iOS 11.0

  • Intermittent start up crash on iOS 11.0 with class_getSuperclass. Issues #278 & #274

2.5.4 Release

12 May 04:06

Choose a tag to compare

Misc Fixes

  • Added toDictionary to state classes
  • NSLocalizedString is now used on the in app alert "Close" button so it can be localized by a .strings file.

2.5.3 Release

08 May 23:51

Choose a tag to compare

Tags Methods and Other Misc fixes

  • Fixed issue deleting non-string tags. Issue #230
  • Fixed rare race condition with location. Issue #222
  • getTags now works if called before device is registered with OneSignal.
  • Nested OneSignal callbacks now work correctly.
  • White-space is trimmed off URLs so they correctly load.

2.5.2 Release

06 Apr 00:41

Choose a tag to compare

Xcode 8.2 Bitcode and kOSSettingsKeyInFocusDisplayOption Fixes

  • Fixed issue where kOSSettingsKeyInFocusDisplayOption was ignored.
  • Fixed bitcode not working on Xcode 8.2 and older.

2.5.1 Release

04 Apr 00:43

Choose a tag to compare

Method calls before init fixes & method name fix

  • Fixed crash when calling setSubscription before initWithLaunchOptions.
  • Fixed issue with device not subscribing if promptForPushNotificationsWithUserResponse was called before initWithLaunchOptions
  • Corrected promptForPushNotificationsWithUserResponse method name.

2.5.0 Release

31 Mar 22:38

Choose a tag to compare

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
  • addPermissionObserver
    • onPermissionChanged will fire when user changes iOS notification settings.
    • Includes Accepting, Declining, Prompting, and toggling iOS notifications in Settings after going back to the app.
  • addSubscriptionObserver
    • onSubscriptionChanged will fire when notification subscription properties change.
    • Includes userId, pushToken, userSubscriptionSettings, and subscribed
  • promptForPushNotificationWithUserResponse: method. Use instead of registerForPushNotifications. This new method accepts a callback that will fire when the prompt is answered.
  • Added inFocusDisplayType property. Use instead of kOSSettingsKeyInFocusDisplayOption. 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_id as part of the payload to postNotification to send to another app.
  • Fixed extra network calls in some edge cases.

Fixes

  • Media attachments 5MB and over now display. Issue #212 -Regression 2.4.0
  • kOSSettingsKeyInFocusDisplayOption resets when calling removePersistentDomain. Issue #185
  • Notification action buttons not showing when app is in focus - Issue #216 -Regression 2.4.0

2.4.3 Release

22 Mar 04:44

Choose a tag to compare

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

15 Mar 02:22

Choose a tag to compare

  • Name fix in didReceiveNotificationExtensionRequest
  • Cleaned up compiler warnings