Releases: OneSignal/OneSignal-Unity-SDK
Releases · OneSignal/OneSignal-Unity-SDK
3.0.3 Release
3.0.2 Release
Changed
- Updated included Android SDK to 4.7.1
- Explicitly check for a diff and handle overwrites for the
AndroidManifest.xmlbetween the project's and package'sOneSignalConfig.plugin InstallEdm4uStepchecks for version number to determine if step is completed
Fixed
- iOS build post processor checks for complete presence of extension
- iOS publishing error 90206 when uploading app to Apple.
- iOS builds on Unity on Windows failing on Entitlements file path. Fixes #491
OneSignalXCFrameworkpod version ofOneSignalNotificationServiceExtensiontarget in Podfile of iOS builds will be upgraded if target is present during post processing
3.0.1 Release
Added
- Migration guide for updating from 2.x.x to 3.x.x
Changed
- Added support for OneSignal iOS functionality
setLaunchURLsInApp - Improved included README for changing the notification icons in the Android plugin.
- Added inline documentation and Unity idiomatic fields to the
InAppMessageAction
Fixed
- Android deserialization of
NotificationActiontype now accounts foractionID - Android deserialization of
Notificationtype now accounts foradditionalDatain all cases - Reverted #430 due to a deprecation of where Android resources can be stored in Unity. Notification icons to be changed for Android can again be found at
Assets/Plugins/Android/OneSignalConfig.plugin. Fixes #470 - Example code for
PostNotificationto show an example that works without the API key - Reimplemented support for
RemoveExternalUserId - Reimplemented
disablePushasPushEnabled - iOS deserialization of
Notificationtype now accounts foradditionalDataandrawPayloadin all cases - iOS notifications opened from cold start will be received via
NotificationOpened - Added missing
Notificationfields - Added prefix to the NSExtensionPrincipalClass in the NotificationServiceExtension Info.plist
- Error deserialization for identity methods on Android
3.0.0 Release
Migrating from 2.x.x
Check out the migration guide to upgrade from a 2.x.x version.
Changed
- Updated VSP Attribution with the latest version of script
- Moved EDM4U installer step to the core package as it is needed for both platforms
Fixed
- Checks for VERSION file before attempting to read it
- Added podfile amendments to iOS Append builds
- Include utilities necessary for independent use of the initial unitypackage install
- Removed unused helper method in the iOS post processor which used code from after Unity 2018
3.0.0-beta.6 Release
Fixed
- iOS build post processor will determine extension's imported OneSignalXCFramework from the package's dependencies xml. Fixes #442
- iOS callbacks for the
NotificationPermissionChangedevent will no longer cause an il2cpp exception
Changed
- Added AndroidManifest with location permissions to the example app to display
PromptLocation InstallEdm4uStepnow imports version 1.2.169 of EDM4U- Log an error in the example app when
RequiresPrivacyConsentis attempted to be set to false from true - Internal state mappings on iOS now rely on class defined objects over dynamic Dictionary types
- Replaced manual manipulation of iOS entitlements in post processing with Unity's ProjectCapabilityManager
3.0.0-beta.5 Release
Changed
- Default export path for notification icons on Android changed to
Assets/Plugins/Android/res - Froze imported OneSignal iOS SDK to 3.10.0 release
- Froze imported OneSignal Android SDK to 4.6.5 release
Removed
- Legacy AndroidManifest from past version of imported OneSignal Android SDK
- Legacy Android notification icons
3.0.0-beta.4 Release
Added
- Included a new setup step from the OneSignal Unity Editor menu (Window > OneSignal) which syncs the example code bundle with the core package version
Fixed
NotificationPermissionreturn from native SDK no longer raises a casting exception on iOS- Resolved infinite loops on logging initialization conditions
- iOS postprocessing will respect existing entitlement files
- Will no longer init SDK again if done before
RuntimeInitializeOnLoadMethod
3.0.0-beta.3 Release
Fixed
- Eliminated syntax only supported on Unity 2020 or above
- Global callbacks on Android are now correctly setup post
initWithContext - Properly push
LogLevelandAlertLevelsettings to native SDKs - Added missing setter to override the detected language
- Add missing getters for permission and subscription states
Changed
- Implemented missing
NotificationpropertiesadditionalDataandactionButtons LogLevelandAlertLevelnow use a custom enum instead of the UnityLogType- Removed
PermissionStatein favor ofNotificationPermissionenum- Renamed
PermissionStateChangedevent toNotificationPermissionChanged
- Renamed
2.14.6 Release
Added
- Included Unity's VSP Attribution code for distribution via the Asset Store.
3.0.0-beta.2 Release
Fixed
- Correctly namedspaced the common MiniJSON utility to fix #404
- Ensured code distributed with unitypackage would not reference other packages if missing
- Swapped out code that was only available in Unity 2020 for backwards compatible implementations