Skip to content

Releases: OneSignal/OneSignal-Android-SDK

5.1.22

27 Sep 20:28
7e68c1d
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Pausing IAMs dismisses any currently showing IAM (#2191)

Release 5.1.21

05 Sep 19:25
b03d5f5
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix ending an already ended session (#2185)
  • Fix Permissions returned by onRequestPermissionResult is empty (#2180)
  • Fix Keyboard input in HTML In App Messagess (#2187)

5.1.20

12 Aug 23:55
54ab98e
Compare
Choose a tag to compare

🔧 Recover

  • This release contains a clean assembly that resolves the "No Static Method Found" issue caused by a faulty assembly during the publish of Release 5.1.19.

🐛 Bug Fixes

  • Recover null onesignal ID crashes for Operations (#2157)
  • Prevent retrying IAM display if 410 is received from backend (#2158)

✨ Improvements

  • Optimized the initialization process by moving some service initialization to a background thread (#2151)
  • Add option to default to HMS over FCM (#2163)

5.1.19 (⛔️ Do not use!)

05 Aug 21:47
43c7d61
Compare
Choose a tag to compare

⚠️ Do NOT use this version ⚠️

  • Contains a faulty assembly that results in a NoSuchMethodError during runtime.
  • Release 5.1.20 contains these same changes

🐛 Bug Fixes

  • Recover null onesignal ID crashes for Operations (#2157)
  • Prevent retrying IAM display if 410 is received from backend (#2158)

✨ Improvements

  • Optimized the initialization process by moving some service initialization to a background thread (#2151)
  • Add option to default to HMS over FCM (#2163)

5.1.18

26 Jul 20:28
429c1c9
Compare
Choose a tag to compare

🐛 Bug Fixes

  • IAM with dynamic trigger showing forever (#2137)
  • Allow preventDefault to be fired up to two times (#2138)

✨ Improvements

  • Remove fallback code for FCM pre-21.0.0 (#2148)
  • Clean up Android Support Library references, drop dependency on androidx.legacy, & Android 4.4 and older code (#2147)

5.1.17

03 Jul 17:14
36e6824
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix "could not be instantiated" exception when; some modules are omitted AND android.enableR8.fullMode is enabled. (#2136)
  • Reverts a breaking change from release 5.1.16 (do not use) that causes a crash when calling requestPermission in a separate thread right after initWithContext. (#2141)

5.1.16 (⛔️ Do not use!)

02 Jul 20:43
6078d77
Compare
Choose a tag to compare

⚠️ Do not use ⚠️

Please use Release 5.1.17 or newer

Release 5.1.15

18 Jun 21:07
e367bd9
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Xiaomi notification click was not foregrounding app #2129
  • FCM push token was not being refreshed (#2125, #2118)
  • Poll for notification permission changes to detect permission change when prompting outside of OneSignal #2112
  • WorkManager fixes when the app uses a custom WorkManager #2122

✨ Improvements

  • Cold start creates new session and refreshes the user from the server #2113

Release 4.8.10

18 Jun 18:01
8a3e2c2
Compare
Choose a tag to compare

🐛 Bug Fixes

  • The getter for WorkManager considers the app context in #2123

Full Changelog: 4.8.9...4.8.10

5.1.14

07 Jun 22:14
50acb5a
Compare
Choose a tag to compare

🔧 Maintenance

  • Add the ability to immediately discard a notification by calling preventDefault(discard: true) (#2094)
  • Bump minimum FCM version to 21.0.0. (#2102)
  • Immediately process pending operations when privacy consent goes from false to true. (#2109)

🐛 Bug Fixes

  • Fix a bug causing OneSignal.getNotifications().requestPermission with the Java Continuation not firing when permission was already granted. (#2093)
  • Fix Operation Model Store adding duplicate operations when the same ones that were previously added to the store and persisted, are re-read from cache. (#2099)
  • Fix a bug causing clicking an unexpanded group notification results in only registering the click result for the final notification in the group. (#2111)