Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
3.10.0 Release
Adds Send/Delete Tags Callback
- Adds a new
ChangeTagsUpdateHandlerparameter 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
startWakefulServiceon Oreo when sending high priority with remote urls.- Issue #498
3.9.3 Release
Fixes FirebaseInstanceId & startWakefulService Errors
- Fixes error with
FirebaseInstanceIdwhen a default Firebase app is not initialized.- Issue #552
- Fixes error with
startWakefulServiceon 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
3.9.1 Release
Proguard, FCM Auth, Location, & Misc Fixes
- Fixed issue with latest Proguard causing FCM and Android Support library report as not found.
- Issue #533
- 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
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 yourAndroidManifest.xmlto 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)
- Add
- Fixed NPE on
UserState.dependValues. Issue #503
3.8.4 Release
Oppo Compatibility, Android WiFi Vitals, & Misc Fixes
3.8.3 Release
Misc Fixes 🐛 & Improvements 🔨
- Fixes
ConcurrentModificationExceptionerrors, regression bug in 3.8.0 Issue #465 - Refactored internal
SharedPreferenceswrites for improved performance. PR #479 - Updated to gms dependency range to include 12.+
- If you get the duplicate
com.google.android.gms.licensebuild error add OneSignal-Gradle-Plugin to your project.
- If you get the duplicate
- Fixes
logoutEmailerror when usingemailAuthHash - Fixes race condition subscription issue when
promptLocationis called after init Issue #477 - Unity - Fixed missing
OneSignalUnityProxyclass when using Proguard
3.8.2 Release
SyncService ANR & Other Misc fixes
- Fixed ANRs related to OneSignal SyncService.
- Possible fix to
Bad Notification: Couldn't expand RemoteViewserror. Issue #263- Please provide detail to Issue #263 if this resolved or left this issue unaffected.
- Fixed
NotificationRestoreServicewake 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
syncHashedEmailin favor ofsetEmail- See the OneSignal Email Quickstart guide for details on how to use and start sending emails.
- Fixed
nullemail state after app restart - Removed open and received handler requirement for Firebase Analytics tracking. Issue #454
- See Google Analytics for Firebase for full setup details.
- Fixed
nullalert handling withdisplayNotificationfrom aNotificationExtensionService. Issue #396 - Fixed
NPEinOneSignalStateSynchronizer. Issue #434
3.8.1 Release
Email Fixes
- Added callbacks to
setEmailandlogoutEmail - Fixed missing app_id with email calls
- PR #440