github OneSignal/OneSignal-Android-SDK 5.1.0
Release 5.1.0

latest releases: 5.9.3, 5.9.2, 5.9.1...
2 years ago

🎉 New Methods

  • Add getter for onesignalId and externalId and a IUserStateObserver to be notified of changes #1909
    • See the API Reference in the Migration Guide for usage, under User Namespace

⚠️ Behavior Changes

  • Location sharing with OneSignal now defaults to false #1942
    • You will need to explicitly enable location sharing with OneSignal with OneSignal.getLocation().setShared(true) (in Java) or OneSignal.Location.isShared (in Kotlin)
  • Removed ACCESS_COARSE_LOCATION permission from the OneSignal Location module #1949
    • You will need to include location permission in your own app's manifest

🐛 Bug Fixes

  • Fix: Adding the same trigger multiple times will still display the in-app message #1925
  • Fix: Reliably show IAMs when they are triggered early in the foregrounding process #1926
  • Fix: Notification click event was not fired without IAM module #1931
  • Fix: Crash on bindService with broadcast receiver context #1935
  • Fix: IllegalStateException on call to Google's location library #1940

Full Changelog: 5.0.5...5.1.0

Don't miss a new OneSignal-Android-SDK release

NewReleases is sending notifications on new releases.