github OneSignal/OneSignal-Android-SDK 5.4.0

latest releases: 5.9.3, 5.9.2, 5.9.1...
8 months ago

Channels: current

⚠️ NOTE: This version is not recommend. Please use 5.4.1 or newer instead. ⚠️

🔖 Auto-Generated Release Notes

Channels: current

What is NOT included

If you use one these features you will need to stay the matching version:

  • 5.2.x - Identity Verification (JWT) - Feature is still in beta
  • 5.3.x - Custom Outcomes - Feature is still in beta

🔧 Improvements

  • improvement: Offloaded work on background threads. (#2394)
  • improvement: Using a OneSignal Threadpool to execute all OneSignal related operations
  • improvement: Added newer suspend methods that could be used in ViewModels to init the SDK, login and logout
  • improvement: Improved code quality around PermissionsActivity.

🚀 New Features

  • Feat: Detect for timezone changes and update the user (#2378)
  • add: security hardening around webview javaScriptEnabled (#2377)

🐛 Bug Fixes

📦 Version

5.4.0

Upgrade Notes

This version solves ANRs from initWithContext, however if your app calls OneSignal accessors (ex. OneSignal.User.oneSignalID) on the main thread immediately after initWithContext you may see the ANR problem shift to them. To solve all OneSignal ANRs, we recommend moving all OneSignal accessor calls off the main thread.


This change is Reviewable

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

NewReleases is sending notifications on new releases.