Skip to content

Releases: OneSignal/OneSignal-Unity-SDK

3.0.3 Release

20 Jul 20:32
d1ff77c

Choose a tag to compare

Changed

  • Added support for OneSignal Android functionality promptForPushNotifications
  • Updated included Android SDK to 4.8.1
  • Updated included iOS SDK to 3.11.2
  • Added support for OneSignal Android setLanguage callbacks

3.0.2 Release

13 May 21:02
83cb08a

Choose a tag to compare

Changed

  • Updated included Android SDK to 4.7.1
  • Explicitly check for a diff and handle overwrites for the AndroidManifest.xml between the project's and package's OneSignalConfig.plugin
  • InstallEdm4uStep checks 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
  • OneSignalXCFramework pod version of OneSignalNotificationServiceExtension target in Podfile of iOS builds will be upgraded if target is present during post processing

3.0.1 Release

15 Apr 19:30
0bb7c92

Choose a tag to compare

Added

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 NotificationAction type now accounts for actionID
  • Android deserialization of Notification type now accounts for additionalData in 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 PostNotification to show an example that works without the API key
  • Reimplemented support for RemoveExternalUserId
  • Reimplemented disablePush as PushEnabled
  • iOS deserialization of Notification type now accounts for additionalData and rawPayload in all cases
  • iOS notifications opened from cold start will be received via NotificationOpened
  • Added missing Notification fields
  • Added prefix to the NSExtensionPrincipalClass in the NotificationServiceExtension Info.plist
  • Error deserialization for identity methods on Android

3.0.0 Release

23 Mar 22:46
ae7fca3

Choose a tag to compare

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

07 Feb 21:16
07de8b0

Choose a tag to compare

3.0.0-beta.6 Release Pre-release
Pre-release

Fixed

  • iOS build post processor will determine extension's imported OneSignalXCFramework from the package's dependencies xml. Fixes #442
  • iOS callbacks for the NotificationPermissionChanged event will no longer cause an il2cpp exception

Changed

  • Added AndroidManifest with location permissions to the example app to display PromptLocation
  • InstallEdm4uStep now imports version 1.2.169 of EDM4U
  • Log an error in the example app when RequiresPrivacyConsent is 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

27 Jan 00:35
6890ad0

Choose a tag to compare

3.0.0-beta.5 Release Pre-release
Pre-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

19 Jan 21:51
4bbd76c

Choose a tag to compare

3.0.0-beta.4 Release Pre-release
Pre-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

  • NotificationPermission return 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

18 Dec 02:13
8b61496

Choose a tag to compare

3.0.0-beta.3 Release Pre-release
Pre-release

Fixed

  • Eliminated syntax only supported on Unity 2020 or above
  • Global callbacks on Android are now correctly setup post initWithContext
  • Properly push LogLevel and AlertLevel settings to native SDKs
  • Added missing setter to override the detected language
  • Add missing getters for permission and subscription states

Changed

  • Implemented missing Notification properties additionalData and actionButtons
  • LogLevel and AlertLevel now use a custom enum instead of the Unity LogType
  • Removed PermissionState in favor of NotificationPermission enum
    • Renamed PermissionStateChanged event to NotificationPermissionChanged

2.14.6 Release

06 Dec 15:19
a5a2db4

Choose a tag to compare

Added

3.0.0-beta.2 Release

24 Nov 20:40
3cfc637

Choose a tag to compare

3.0.0-beta.2 Release Pre-release
Pre-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