Skip to content

Release 5.1.0

Compare
Choose a tag to compare
@jennantilla jennantilla released this 08 Mar 20:02
· 46 commits to main since this release
6019f00

What's Changed

🎉 New Methods 🎉

  • Add getter for onesignalId and externalId and a UserState Observer to be notified of changes in [#959]
  • Add asynchronous getter methods for Notifications permission and Push Subscription token, id,optedIn in [#977]
    • ⚠️ Previous methods Notifications.hasPermission, User.pushSubscription.id, User.pushSubscription.token, and User.pushSubscription.optedIn are now deprecated but non-breaking. ⚠️
    • See the Push Subscription Namespace API Reference and Notifications Namespace API Reference in the Migration Guide for usage of new methods getPermissionAsync, getIdAsync, getTokenAsync, and getOptedInAsync.

Native Changes

  • Bump Android Native Version to 5.1.6
  • Bump iOS Native Version to 5.1.3

Full Changelog: 5.0.6...5.1.0