Releases: OneSignal/OneSignal-Android-SDK
Release 5.1.0
🎉 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
Release 4.8.7
✨ Enhancements
- Catch
DeadSystemException
to prevent red herring crash reports #1937
🐛 Bug Fixes
- Fix a Null Pointer Exception in
getTargetSdkVersion
#1848
🤩 New Contributors
- @kyunkakata made their first contribution in #1848
Full Changelog: 4.8.6...4.8.7
Release 5.0.5
What's Changed
- Fix issue with migration from v4 to v5 when obfuscation is used by the app - #1901
- initWithContext synchronization fix - #1903
- Add public get tags method - #1893
- Add refresh_device_metadata to create user so country / IP can be set - #1911
- Update push subscription model properties between sessions - 1922
- [v5] Pause operation repo and retry failed user create - #1900
Full Changelog: 5.0.4...5.0.5
Release 5.0.4
What's Changed
- Update PropertiesModel's deserialization of tags to not use
Model.initializeFromJson
by @brismithers in #1884 - Retrieve current ADM PurchasingListener assuming it returns a nullable. by @brismithers in #1888
- Fix: Add synchronized blocks to prevent ConcurrentModificationException by @jennantilla in #1876
- Update work-runtime dependency version by @jennantilla in #1890
- General protection against exceptions that occur on a thread. by @brismithers in #1887
Full Changelog: 5.0.3...5.0.4
Release 5.0.3
What's Changed
- Fix Amazon purchase tracking setup in #1860
- Fix IAMs showing erroneously on every cold start in #1863
Full Changelog: 5.0.2...5.0.3
Release 5.0.2
What's Changed
- [Fix] rename kotlin modules by @shepherd-l in #1844
- [Fix] crash from missing operationExecutor in OperationModelStore create by @emawby in #1845
- Resolves Issue #1814 [Bug]: Crash on 5.0.0 - "Unrecognized operation: login-user-from-subscription"
- [Fix] new notifications were replacing old ones by @nan-li in #1840
- [Fix] differentiate login errors and add logs by @nan-li in #1841
- [Fix] In-App Message auto-dismiss crash by @jennantilla in #1846
- [Fix] timezone_id not being set by @emawby in #1842
- [Fix] language not being set by @jennantilla in #1847
- [Fix] concurrent modification exception by @emawby in #1849
Full Changelog: 5.0.1...5.0.2
Release 5.0.1
Release 5.0.0
⚠️ This is a major release which contains breaking API changes.
In this major version release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.
Note that Identity Verification has not yet been enabled in this version and will be released in a later version
For information please see the migration guide.
What's Changed Since beta 4
- Remove User namespace throws #1802
- Reduce failure cases to creating a user #1794
- Fix outcome requests #1793
- Make subscribers in EventProducer synchronized #1796
- Fix canRequestPermission always returning true #1798
- Fix IAM display & dismiss bugs #1799
Full Changelog: 5.0.0-beta4...5.0.0
4.8.6 Release
Whats new
- Add public class CallbackThreadManager (#1776)
- Prevent ANRs when backgrounding app (#1775)
- Bump firebase-messaging dependency version 23 (#1762)
Full change log: 4.8.5...4.8.6
Release 5.0.0-beta4
In this major version beta release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.
For information please see the migration guide.
What's Changed Since beta 3
Privacy Consent methods have been renamed
- [User model] Privacy Consent function names have been renamed #1771
Various Fixes
- [User Model] add toJSONObject for push subscription event parameters #1770
Full Changelog: 5.0.0-beta3...5.0.0-beta4