Releases: OneSignal/OneSignal-Unity-SDK
2.5.0. Release
Firebase Analytics support and Observer Fixes
- Added Firebase Analytics notification events.
- See OneSignal guide for more details.
- Fixed iOS permission state. Issue #56
- Fixed from state on OSPermissionStateChanges. Issue #73
2.4.1 Release
Native SDKs Update - iOS 2.5.6, Android 3.6.3
Must upgrade to this version or newer when building with Xcode 9!
- iOS - Fixes issue with open event on cold start on iOS 11
- iOS - Fixes error "OneSignal AppId format is invalid." Issue #33
- Android - Oreo and misc error handling improvements
- Fixes double events when sending silent notifications. Issue #64
- Fixes extra Android Resolver refreshes
- Updated Google JarResolver from1.2.44 to 1.2.54
2.4.0 Release
Android Oreo (8.0)
Must upgrade to this version or newer when targeting Android API level 26
- Added support for Android O Notification Channels
- Also know as Notification Categories
- See OneSignal's guide on setting these up
- Dropped Android 2.3 (API 9) support, minimum is now 4.0.3 (API 15)
- Dropped support for Unity 4
2.3.3 Release
Fixed iOS Editor compile error
2.3.2 Release
2.3.1 Release
2.3.0 Release
New Observer methods
- Added
PromptForPushNotificationsWithUserResponse
for iOS. - Added
GetPermissionSubscriptionState
- Added
permissionObserver
andsubscriptionObserver
event delegates - Added
inFocusDisplayType
property.
See the Unity SDK API reference for full details on the new methods.
2.2.2 Release
Android Build Fix with Unity 5.0 to 5.5
- Fixed applicationIdentifier not found error.
2.2.1 Release
Native SDK library updates
- Updated iOS native to 2.5.2
- Updated from 2.4.2.
- Updated Android native to 3.4.4.
- Updated to newest Google jar resolver version 1.2.16.0 .
- Updated from 1.2.9.0.
2.2.0 Release
Xcode 8
Xcode 7 is no longer supported in this release, please update to Xcode 8
iOS NotificationServiceExtension
iOS Media attachments and action buttons now use a NotificationServiceExtension with mutable-content
instead of content-available
on iOS 10 for improved delivery reliability and speed. This fixes the issue where notifications with these features would not show if the app was force-quit by swiping it away.
Upgrade NOTE!
Make sure to follow the new step to add this Notification Service Extension as it is now required to add action buttons and Attachments.
Add Notification Service Extension
Failing to add this will result in basic notifications shown without these features on iOS 10 devices.
Misc iOS Fixes
- Fixed bug where sending notifications with action buttons set would remove other notification categories set in the app.
- Fixed issue where
actionID
was not set when tapping on a notification button without additional on the notification. - Fix for intermittent IAP crash. Issue #30