Skip to content

Releases: OneSignal/OneSignal-Android-SDK

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

3.8.3 Release

22 Mar 23:17
Compare
Choose a tag to compare

Misc Fixes 🐛 & Improvements 🔨

  • Fixes ConcurrentModificationException errors, regression bug in 3.8.0 Issue #465
  • Refactored internal SharedPreferences writes for improved performance. PR #479
  • Updated to gms dependency range to include 12.+
  • Fixes logoutEmail error when using emailAuthHash
  • Fixes race condition subscription issue when promptLocation is called after init Issue #477
  • Unity - Fixed missing OneSignalUnityProxy class when using Proguard

3.8.2 Release

13 Mar 02:06
Compare
Choose a tag to compare

SyncService ANR & Other Misc fixes

  • Fixed ANRs related to OneSignal SyncService.
  • Possible fix to Bad Notification: Couldn't expand RemoteViews error. Issue #263
    • Please provide detail to Issue #263 if this resolved or left this issue unaffected.
  • Fixed NotificationRestoreService wake lock. Issue #448
  • App name is no longer defaulted as the notification title if one is not set on Android 7 (Nougat)+
    • Notification views / groups now always show the app the notification came from now.
  • Deprecated syncHashedEmail in favor of setEmail
  • Fixed null email state after app restart
  • Removed open and received handler requirement for Firebase Analytics tracking. Issue #454
  • Fixed null alert handling with displayNotification from a NotificationExtensionService. Issue #396
  • Fixed NPE in OneSignalStateSynchronizer. Issue #434

3.8.1 Release

12 Mar 21:37
Compare
Choose a tag to compare

Email Fixes

  • Added callbacks to setEmail and logoutEmail
  • Fixed missing app_id with email calls

3.8.0 Release

14 Feb 23:11
Compare
Choose a tag to compare

OneSignal Email support

Other mis fixes

  • Fixed rare java.lang.SecurityException exception. Issue #427
  • Work around for Android Marshmallow 6.0 getActiveNotifications bug. Issue #422
  • Rare proguard issue with JobIntentService on Android Oreo 8.0 builds. Issue #424