Releases: OneSignal/OneSignal-Xamarin-SDK
3.2.0 Release
Xamarin SDK Updates
• Adds GDPR compliance methods to the SDK.
• You can now use OneSignal.SetRequiresUserPrivacyConsent(true)
to completely disable initialization of the OneSignal SDK until the user provides privacy consent (when your app calls OneSignal.UserDidProvidePrivacyConsent(true)
).
• Until consent is provided, the SDK will delay initialization and will not send any personal data. If your app attempts to call any methods (such as GetTags
), the SDK will not crash but will print out an error message to console.
• Fixes an issue that caused new methods (ie. the new Email methods) to not appear in some circumstances.
• Fixes the way the SDK handles callbacks, making it safe to call GetTags()
multiple times for example instead of using global references.
• Fixed an Android issue which would have caused users to see Could not install ... CustomTabs
, by adding MonoAndroid7.1, 8.0, and 8.1 to the nupkg
Android Native SDK 3.9.1
- Now supports FCM (Firebase Cloud Messaging) library
- 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 - Added try-catch to work around Oppo device bugs. Issue #491and #487
- Rare
NullPointerException
onWakefulBroadcastReceiver
. Issue #488 - Fixed Excessive Wi-Fi scans (background). issue #433
- Fixed additional
ConcurrentModificationException
occurrence. issue #465 - 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
iOS Native SDK 2.8.5
• Fixes a rare concurrency issue with the SDK's HTTP client.
• This issue would have caused exceptions when GDPR consent was revoked, or in some wrapper SDK's, early in the app lifecycle before the app ID was provided.
• Fixes a private API issues preventing developers from uploading binaries to the App Store
• Any methods named valueForQueryParameter()
are apparently flagged by Apple as private API usage......
• Changed the name of the method so it no longer triggers this issue.
• The OneSignal iOS SDK now includes GDPR privacy consent methods which allow developers to postpone initialization of the SDK until the user provides privacy consent.
• This new GDPR privacy setting can be controlled by adding OneSignal_require_privacy_consent
to your application's Info.plist
and setting it to YES
.
• Once the user accepts the GDPR privacy permissions, your application can call OneSignal.consentGranted(true)
• Your users can revoke privacy consent at any time by calling OneSignal.consentGranted(false)
• 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
3.1.1 Release
.NET Standard Support
- Tested with .NET Standard 1.0, 2.0, and PCL projects
3.1.0 Release
Adds Email to the Xamarin SDK
- Adds Email to the Xamarin SDK, you can now use setEmail() to set emails for your users
Adds iOS Push Notification Extension Service
- Adds support for iOS notification extension service, which lets applications show rich push notifications (images, buttons, etc)
Other Improvements
- Android API target level 26+ support
- Latest OneSignal native libraries
- Fixes a bug where the
isAppInFocus
property of push notification objects was always false, even if the app was open - Adds optional callbacks to some methods such as
PostNotification()
3.1.0 Beta Release
Added .NET Standard Support
- Now supports .NET Standard projects
- Still supports PCL projects as well
Updates from 3.1.0-aphla releases
- Android API target level 26+ support
- Latest OneSignal native libraries
3.1.0 Alpha2 Release
OneSignal iOS native SDK 2.8.1
- Fixes misc iOS issues noted in the native release notes.
- Updated to latest Android dependencies.
3.1.0 Alpha Release
OneSignal Android native SDK 3.8.2
- Allows testing of targeting API Level 26+ with Android 8+ devices
3.0.1 Release
Fixed missing IdsAvailable parameter
3.0.0 Release
OneSignal SDK released on NuGet
- Project restructured to make it compatible.
- Greatly simplifies the setup and updating process.
2.1.1 Release
Fixed iOS issue where Settings were ignored.
2.1.0 Release
Updated to iOS native SDK 2.3.2 and Android SDK 3.4.2
iOS
- Fixes issues with opened and received callbacks.
- Added additional notification_types status for "No Push Token" to help debug issues which will show on the OneSignal dashboard.
- Fixed rare crash with postNotification.
- Fixed issue opening a 2nd URL notification not showing a webview.
- Added validation to syncHashedEmail.
- Fixed issue where an iOS 10 media notification could hang the main thread when downloading it.
Android
- Added support for badges on older Samsung devices as well as OPPO an ZUK devices.
- Fixed SyncService logcat error.