Skip to content

Releases: OneSignal/OneSignal-Android-SDK

5.4.0-alpha-01

26 Sep 21:54
6293840
Compare
Choose a tag to compare
5.4.0-alpha-01 Pre-release
Pre-release

Channels: Alpha

Highlights

  • Non-blocking initialization

    • OneSignal.initWithContext has been refactored so heavy disk and network work are moved off the main thread. ANRs related to initialization should now be effectively eliminated when the SDK is used in the recommended way (see Notes below).
  • Performance Improvements

    • In our testing, the time spent on the main thread during initialization dropped by ~80% (e.g., from ~47–49 ms down to ~8 ms on a cold start in debug builds).

Notes

  • If your app calls OneSignal accessors (ex. OneSignal.User.oneSignalID) immediately after initWithContext, we recommend moving all OneSignal accessor calls off the main thread.
  • No breaking API changes; existing initWithContext(context) continues to work as before.

We appreciate your experience and feedback using this alpha version!

5.1.37

02 Sep 17:13
237ce50
Compare
Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix(subs): Fix when multiple create subscription operations exist without token (#2354)
  • fix (crash): Finishing the activity on main thread when a notification is opened (#2353)

5.1.36

14 Aug 20:38
2284a34
Compare
Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix(crash): NPE in PermissionsActivity (#2349)
  • fix(subs): Fix parsing subscriptions from server, and improve handling of deleted push subscriptions (#2341)

✨ Improvements

  • docs: Fix formatting issues in migration guide (#2347)
  • docs: Update migration guide to point to remote docs (#2346)

Release 5.3.0-alpha-01

06 Aug 22:21
14be82b
Compare
Choose a tag to compare
Pre-release

Channels: alpha

🎉 Custom Events Support

This alpha release introduces Custom Events support for the Android user model SDK.

To get started with using Custom Events, please contact support@onesignal.com to enable this feature for your app. Please see documentation on Custom Events.

We appreciate your experience and feedback using this alpha version!

5.2.0-beta-06

08 Jul 20:09
799ade2
Compare
Choose a tag to compare
5.2.0-beta-06 Pre-release
Pre-release

Channels: beta

🐛 Bug Fixes

  • JWT: Resolve IAM conditions after user create to allow fetching of IAMs in #2337

✨ Improvements

5.1.35

30 Jun 21:48
1e691ee
Compare
Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • Fix crashes with Amazon IAP tracking by dropping support for this (#2333)
  • Fix push subscription observers not firing (#2330)
  • Properly handle in-app messages dismissed by back press (#2328)
  • Fix Android 7 and lower crashes with getParameterCount calls, when the app is built with AGP 7 or older (#2329)
  • Fix logout incorrectly uses the old subscription ID (#2327)

✨ Improvements

  • Adds the following new public methods (#2311):
    • OneSignal.Debug.addLogListener
    • OneSignal.Debug.removeLogListener
  • Clean up logging from ServiceProvider (#2332)
  • Updated to Gradle/AGP 8 & Changes to publish to the Maven Central Portal. (#2331)
    • No project changes are required, you may still used Gradle / AGP 7.

5.2.0-beta-05

23 Jun 22:47
777b7d6
Compare
Choose a tag to compare
5.2.0-beta-05 Pre-release
Pre-release

⚠️ NOTE: Requires Gradle 8 / Android Gradle Plugin 8 if your app supports Android 7 or lower.

  • This limitation will be addressed in the next version

✨ Improvements

  • Switched publishing to use the Central Publisher Portal
    • No changes to those using the SDK in their project

5.2.0-beta-04

06 Jun 18:38
dbe3fa7
Compare
Choose a tag to compare
5.2.0-beta-04 Pre-release
Pre-release

⚠️ NOTE: Requires Gradle 8 / Android Gradle Plugin 8 if your app supports Android 7 or lower.

✨ Improvements

  • Rebased to 5.1.34 for more bug fixes and stability improvements.
  • Adds the following new public methods #2311:
    • OneSignal.Debug.addLogListener
    • OneSignal.Debug.removeLogListener

5.1.34

22 May 19:24
d1b274a
Compare
Choose a tag to compare

⚠️ NOTE: Requires Gradle 8 / Android Gradle Plugin 8 if your app supports Android 7 or lower.

  • This limitation will be addressed in the next version

🐛 Bug Fixes

  • Fix: NPE when accessing WindowInsets used in isKeyboardUp() (#2305)
  • Fix: NotificationOpenedActivity "freeze" when a large amount of notification is clicked (#2304)
  • Fix: Crash when adding alias with some labels (#2296)

5.2.0-beta-03

19 May 21:23
3f6fb30
Compare
Choose a tag to compare
5.2.0-beta-03 Pre-release
Pre-release

Channels: Beta

✨ Improvements

  • Rebased to 5.1.33 for more bug fixes and stability improvement.