Skip to content

Releases: OneSignal/OneSignal-Android-SDK

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

Release 5.0.3

06 Oct 22:56
1721ec7
Compare
Choose a tag to compare

What's Changed

  • Fix Amazon purchase tracking setup in #1860
  • Fix IAMs showing erroneously on every cold start in #1863

Full Changelog: 5.0.2...5.0.3

Release 5.0.2

25 Sep 23:47
3488c90
Compare
Choose a tag to compare

What's Changed

  • [Fix] rename kotlin modules by @shepherd-l in #1844
  • [Fix] crash from missing operationExecutor in OperationModelStore create by @emawby in #1845
    • Resolves Issue #1814 [Bug]: Crash on 5.0.0 - "Unrecognized operation: login-user-from-subscription"
  • [Fix] new notifications were replacing old ones by @nan-li in #1840
  • [Fix] differentiate login errors and add logs by @nan-li in #1841
  • [Fix] In-App Message auto-dismiss crash by @jennantilla in #1846
  • [Fix] timezone_id not being set by @emawby in #1842
  • [Fix] language not being set by @jennantilla in #1847
  • [Fix] concurrent modification exception by @emawby in #1849

Full Changelog: 5.0.1...5.0.2

Release 5.0.1

07 Sep 20:57
fea6fa1
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix proguard rules to allow minify to be enabled #1828

Full Changelog: 5.0.0...5.0.1

Release 5.0.0

10 Aug 19:32
82fc8e8
Compare
Choose a tag to compare

⚠️ This is a major release which contains breaking API changes.

In this major version release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

Note that Identity Verification has not yet been enabled in this version and will be released in a later version

For information please see the migration guide.

What's Changed Since beta 4

  • Remove User namespace throws #1802
  • Reduce failure cases to creating a user #1794
  • Fix outcome requests #1793
  • Make subscribers in EventProducer synchronized #1796
  • Fix canRequestPermission always returning true #1798
  • Fix IAM display & dismiss bugs #1799

Full Changelog: 5.0.0-beta4...5.0.0

4.8.6 Release

12 May 01:55
2cbb251
Compare
Choose a tag to compare

Whats new

  • Add public class CallbackThreadManager (#1776)
  • Prevent ANRs when backgrounding app (#1775)
  • Bump firebase-messaging dependency version 23 (#1762)

Full change log: 4.8.5...4.8.6

Release 5.0.0-beta4

08 May 17:54
81fc303
Compare
Choose a tag to compare
Release 5.0.0-beta4 Pre-release
Pre-release

In this major version beta release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

For information please see the migration guide.

What's Changed Since beta 3

Privacy Consent methods have been renamed

  • [User model] Privacy Consent function names have been renamed #1771

Various Fixes

  • [User Model] add toJSONObject for push subscription event parameters #1770

Full Changelog: 5.0.0-beta3...5.0.0-beta4