Skip to content

3.9.0 Release

Compare
Choose a tag to compare
@jkasten2 jkasten2 released this 07 May 21:34

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