Skip to content

Releases: OneSignal/OneSignal-Android-SDK

Release 5.1.6

01 Mar 22:33
c00b322
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Make ServiceBuilder.getService thread safe (#2012)
    • Will fix some null Context crashes from initWithContext
    • Addresses issues; #1990 & #1917
  • 4.x.x migration: Missing onesignalId during initWithContext (#2009)

🔧 Maintenance

  • [Internal only] Upgraded compileSdkVersion to 34 (#1994)
    • Apps can still use Android compile SDK 33, target SDK version unaffected
  • [Internal only] Added nested JSONObject support to JSONObject.toMap() (#2004)
  • [Internal only] Upgrade tests to JUnit5 and Kotest to 5.8.0 (#2006)

Release 5.1.5

22 Feb 20:47
f325142
Compare
Choose a tag to compare

✨ Improvements

  • Keep banner-style IAMs on the screen while background is tapped in #1999

Release 5.1.4

09 Feb 22:29
1d0d45f
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix: exception due to missing notification_types when upgrading from v4 to v5 #1986

🔧 Maintenance

  • Update firebase-messaging version to 23.4.0 #1987
  • Upgrade play-services-basement to 18.1.0 #1982

Release 5.1.3

07 Feb 23:30
e6da1e5
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix an issue with sending IAM impressions in #1980

Release 5.1.2

29 Jan 20:27
ae7fa7c
Compare
Choose a tag to compare

What's Changed

  • Concurrent modification in event producer - #1970

Full Changelog: 5.1.1...5.1.2

Release 5.1.1

12 Jan 00:36
709b441
Compare
Choose a tag to compare

What's Changed

  • Deadlock and concurrent modification related to Model.data #1944
  • Fix: Method optIn() not working after optOut() has been called #1957
  • [Fix] Bump adroidx.work:work-runtime-ktx to 2.8.1 #1960
    • Requires apps use compile SDK version 33 or higher now

Full Changelog: 5.1.0...5.1.1

Release 5.1.0

28 Dec 21:34
52987ab
Compare
Choose a tag to compare

🎉 New Methods

  • Add getter for onesignalId and externalId and a IUserStateObserver 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) or OneSignal.Location.isShared (in Kotlin)
  • 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

20 Dec 00:17
1d27d82
Compare
Choose a tag to compare

✨ Enhancements

  • Catch DeadSystemException to prevent red herring crash reports #1937

🐛 Bug Fixes

  • Fix a Null Pointer Exception in getTargetSdkVersion #1848

🤩 New Contributors

Full Changelog: 4.8.6...4.8.7

Release 5.0.5

01 Dec 23:24
7697097
Compare
Choose a tag to compare

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

03 Nov 23:13
ff841f9
Compare
Choose a tag to compare

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