Release 5.1.0
jennantilla
released this
28 Dec 21:34
·
16 commits
to user-model/main
since this release
🎉 New Methods
- Add getter for
onesignalId
andexternalId
and aIUserStateObserver
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) orOneSignal.Location.isShared
(in Kotlin)
- You will need to explicitly enable location sharing with OneSignal with
- 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