2.4.0 Release
GDPR Support
• Adds new methods for Android and iOS that allow developers to require user consent before the SDK is fully initialized.
• Developers can call OneSignal.setRequiresUserPrivacyConsent(true)
to require a user's consent before the SDK collects any information.
• Until this point, any calls to the SDK are ignored. Once OneSignal.provideUserConsent(true)
is called, the SDK will fully initialize. By default, this behavior is turned off.
Native Updates
Android SDK - 3.9.0
- 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 their Play Services library
- GCM (Google Cloud Messaging) is still supported in the OneSignal SDK until then
- Issue #507
- Fixed NPE on
UserState.dependValues
. Issue #503
iOS SDK - 2.8.4
• The SDK will now work with media attachment URL's that don't end in file extension (ie. .jpg). If a URL is missing a file extension, it will instead use the MIME type of the asset.
• Resolves an incompatibility issue with the HelpShift iOS SDK
• Fixes an issue that caused incorrect "notification opened" events to be sent to OneSignal's backend server