Skip to content

Releases: OneSignal/OneSignal-Android-SDK

3.10.4 Release

06 Dec 22:20
Compare
Choose a tag to compare

This release was made in error and contains no changes from 3.10.3. Please use 3.10.5 instead.

3.10.3 Release

02 Nov 05:16
Compare
Choose a tag to compare

Notification Restore Tweaks & Misc Bug Fixes

  • Notification Restore Improvements (PR #645)
    • Limit number of notification restored to 49
      • This is the max visible limit per app, Android omits displaying any more
      • Helps mitigate issue #644
    • Slowed Restore rate to 5 per second
    • Above 2 changes cleans up NotificationService warnings from the logcat
  • GDPR method fixes
    • Allow calling provideUserConsent before init. PR #648
    • Allow calling add observer methods before provideUserConsent(true) is called. #655
  • Fixed IllegalArgumentException thrown from JobIntentService in a specific case
    • Issue was only happening with high priority notifications that had a remote image with an app setup with a NotificationExtenderService and running on Android Oreo+, in some cases.
    • Fixes issue #649
  • Fix for OneSignalSyncServiceUtils throwing IllegalArgumentException when boot permission is removed.
  • Possible fix for rare "Package manager has died" error. PR #658

3.10.2 Release

05 Oct 23:49
Compare
Choose a tag to compare

Notification Channel Fallback, NotificationExtenderService Doze Mode, & Misc Fixes

  • Fixed NPE with ChangeTagsUpdateHandler when a tag update results in no changes. PR #611
  • Fixed FirebaseInstanceIdService IllegalArgumentException exception
  • Fixed rare NPE Bundle error on RestoreJobService.onHandleWork. Issue #591
  • NotificationExtenderService now respects FCM High priority to wake from Dose mode. PR #640
  • Fixed fallback of medium and lower priorities of Notification Channel for pre-Oreo devices. PR #639
  • Fixed issue with disabling enableVibrate or enableSound was not respected.
    • When initializing OneSignal after Application.onCreate.
    • Note, settings only apply to Android 7.0 and older.
    • Methods will be deprecated, please migrate to Android Categories / Channels
  • Cleaned up GCM related warning in logcat when a push is received. #642
    • CANCELLED forIntent { act=... flg=0x10000000 pkg=... }

3.10.1 Release

07 Aug 22:18
Compare
Choose a tag to compare

Fix ANR's (Application Not Responding)

  • Fixes a thread synchronization bug that in some situations could cause the main thread to lock up while waiting for a network request to finish.

3.10.0 Release

31 Jul 22:29
Compare
Choose a tag to compare

Adds Send/Delete Tags Callback

  • Adds a new ChangeTagsUpdateHandler parameter for methods that update/delete tags.
  • Publicly exposes requiresUserPrivacyConsent() that indicates if the application is set to require privacy consent and the user hasn't yet given consent
  • Publicly exposes onesignalLog() so that wrapper SDK's can use it
  • Updated fix for error with startWakefulService on Oreo when sending high priority with remote urls.

3.9.3 Release

19 Jul 23:45
Compare
Choose a tag to compare

Fixes FirebaseInstanceId & startWakefulService Errors

  • Fixes error with FirebaseInstanceId when a default Firebase app is not initialized.
  • Fixes error with startWakefulService on Oreo when sending high priority with remote urls.
    • Issue #498
    • NOTE: After further investigation we determined this release did not resolve this issue, and we've included an updated fix in our new release (3.10.0)

3.9.2 Release

26 Jun 00:29
Compare
Choose a tag to compare

flushBufferToDisk and idsAvailable Bug Fixes

  • Fixed NPE with flushBufferToDisk #513
  • Fixed idsAvailable not being called a 2nd time when registrationId was null. PR #563

3.9.1 Release

18 May 22:37
Compare
Choose a tag to compare

Proguard, FCM Auth, Location, & Misc Fixes

  • Fixed issue with latest Proguard causing FCM and Android Support library report as not found.
  • FCM init error when the Firebase Auth library was added to the project. PR #530
  • Fixed GoogleAPIClient not connected yet errors. Issue #509
  • Android 7.0 Bad Notification: Couldn't expand RemoteViews for: StatusBarNotification
    • Restore on app update disabled to fix issue #263
  • NPE on flushBufferToDisk. Issue #513
    • Fix did not resolve issue, was fully fixed in 3.9.2

3.9.0 Release

07 May 21:34
Compare
Choose a tag to compare

FCM Library support, GDPR methods, & NPE dependValues Fix

  • Now supports FCM (Firebase Cloud Messaging) library
    • This upgrade is automatic as long as you followed the OneSignal standard setup guide.
    • After April 11, 2019 Google will drop the GCM from new versions of their Play Services library
    • GCM (Google Cloud Messaging) is still supported in the OneSignal SDK until then
    • Issue #507
  • Added GDPR privacy consent to postpone initialization of the SDK until the user accepts
    • Add <meta-data android:name="com.onesignal.PrivacyConsent" android:value="ENABLE" /> to your AndroidManifest.xml to enable this.
    • Once the user accepts your GDPR privacy permissions, your application should call OneSignal.provideUserConsent(true)
    • If your user revokes your privacy consent then you should call OneSignal. provideUserConsent(false)
  • Fixed NPE on UserState.dependValues. Issue #503

3.8.4 Release

12 Apr 21:47
Compare
Choose a tag to compare

Oppo Compatibility, Android WiFi Vitals, & Misc Fixes

  • Added try-catch to work around Oppo device bugs. Issue #491 and #487
  • Rare NullPointerException on WakefulBroadcastReceiver. Issue #488
  • Fixed Excessive Wi-Fi scans (background). issue #433
  • Fixed additional ConcurrentModificationException occurrence. issue #465