Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
Release 5.1.9
✨ Enhancements
- AndroidManifest option to override In-App Messages gray overlay and dropshadow (#2051)
<meta-data android:name="com.onesignal.inAppMessageHideGrayOverlay" android:value="true"/>
<meta-data android:name="com.onesignal.inAppMessageHideDropShadow" android:value="true"/>
🐛 Bug Fixes
- Fix for WorkManager not initialized crash (#2052)
- Fix don't re-create user on failed remove alias (#2049)
🔧 Maintenance
Network call optimizations
Release 5.1.8
🐛 Bug Fixes
- external_id skipped and updates stop if something updates the User (such as addTag) shortly before login is called (#2046)
- Fixes [Bug]: Using OneSignal.login() does not set externalId in Subscription Records #2043
- Possibly fixes [Bug]: some of the user device is not in the subscription list #2041
- Possibly fixes [Bug]: In v5, the Subscription Status does not change to 'Subscribed'
- Bug existed since 5.0.0 but triggered more often in 5.1.7, due to batching improvements in PR #2033
Release 5.1.7
🐛 Bug Fixes
- Fix network call batching not waiting the full 5 seconds in most cases to reduce the total number of REST API calls to OneSignal. (#2033)
optIn()
not prompting if called before push subscription is created on backend (#2037)- Fix crash with EventProducer's fire events (#2034)
- Fixes issue #2007
- Fix for context not being set on all entry points (#2018)
- Fixes issue #1282
🔧 Maintenance
- Battery improvements
- Duplicate GET /user call on cold start when calling login with the same external_id (#2015)
- [Docs] Update supported android versions in readme to include Android 14 (#2024)
- This was already the case, just the docs didn't reflect this.
- [Internal Only] Switch to kotest-extensions-android (#2023)
Release 4.8.8
✨ Enhancements
- Add setting to prefer HMS over FCM #1984
- Add
<meta-data android:name="com.onesignal.preferHMS" android:value="true"/>
under your<application>
tag if you like to use this setting. - See OneSignal's Prefer HMS over FCM documentation page for more details.
- Only applies if you app has both FCM and HMS libraries AND the device has both "HMS Core" AND "Google Play services" installed.
- Only 2020 and older Global variants of Huawei devices would have both installed by default.
- Add
🐛 Bug Fixes
- Attempt retrying OutOfMemoryError errors when starting threads. #2027
- Make sure your app doesn't have any memory leaks and is handling onTrimMemory so the SDK can move on once memory is free
- Fix rare null crash with
taskQueueWaitingForInit.poll()
#2026- Addresses issue #1761
- Fix rare null crash with
timeFocusedAtMs
#2025
Release 5.1.6
Release 5.1.5
✨ Improvements
- Keep banner-style IAMs on the screen while background is tapped in #1999
Release 5.1.4
Release 5.1.3
Release 5.1.2
Release 5.1.1
What's Changed
- Deadlock and concurrent modification related to Model.data #1944
- Fix: Method
optIn()
not working afteroptOut()
has been called #1957 - [Fix] Bump
adroidx.work:work-runtime-ktx
to2.8.1
#1960- Requires apps use compile SDK version 33 or higher now
Full Changelog: 5.1.0...5.1.1