Skip to content

Releases: OneSignal/OneSignal-Unity-SDK

5.1.3

16 Apr 14:47
cd41a2f
Compare
Choose a tag to compare

Changed

  • Updated included Android SDK from 5.1.8 to 5.1.9
    • Added AndroidManifest option to override In-App Messages gray overlay and dropshadow
      • <meta-data android:name="com.onesignal.inAppMessageHideGrayOverlay" android:value="true"/>
      • <meta-data android:name="com.onesignal.inAppMessageHideDropShadow" android:value="true"/>
    • Fixed WorkManager not initialized crash
    • Fixed don't re-create user on failed remove alias
    • Added network call optimizations
    • For full changes, see the native release notes
  • Updated included iOS SDK from 5.1.4 to 5.1.5
    • Added plist option to hide gray overlay and disable dropshadow for In-App Messages
      • OneSignal_in_app_message_hide_gray_overlay
      • OneSignal_in_app_message_hide_drop_shadow
    • For full changes, see the native release notes

5.1.2

10 Apr 16:25
bf4a818
Compare
Choose a tag to compare

Changed

  • Updated included Android SDK from 5.1.6 to 5.1.8
    • Fixed externalId being skipped and updates to stop if something updates the User (such as addTag) shortly before login is called
    • Fixed optIn() not prompting if called before push subscription is created on backend
    • Fixed crash with EventProducer's fire events
    • Fixed context not being set on all entry points
    • For full changes, see the native release notes
  • Updated included iOS SDK from 5.1.3 to 5.1.4

3.0.12 Release

26 Mar 16:35
f09af6e
Compare
Choose a tag to compare

Changed

5.1.1 Release

09 Mar 04:22
6b1216d
Compare
Choose a tag to compare

Changed

  • Updated included Android SDK to 5.1.6
  • Updated included iOS SDK to 5.1.3

5.1.0 Release

22 Feb 22:50
a3095e8
Compare
Choose a tag to compare

Fixed

  • iOS crash when calling OneSignal.User.PushSubscription.Id and OneSignal.User.PushSubscription.Token when they are null.

Changed

  • Add public getters for OneSignalId and ExternalId in the User namespace
  • Add public event handler OneSignal.User.Changed that fires when the OneSignalId or ExternalId changes
  • Updated included Android SDK to 5.1.5

5.0.6 Release

30 Jan 18:46
ded467e
Compare
Choose a tag to compare

Fixed

  • Duplicate symbol errors when building with other iOS plugins
  • Removed READ_PHONE_STATE permission in Android builds. Delete your OneSignalConfig.androidlib and run the
    "Copy Android plugin to Assets" step in Window > OneSignal SDK Setup to apply the fix.
  • Fixed lower build-tools versions being needed for Android builds. Delete your OneSignalConfig.androidlib and run the
    "Copy Android plugin to Assets" step in Window > OneSignal SDK Setup to apply the fix.

Changed

  • Updated included Android SDK to 5.1.2.
    • Android builds now require the Target API Level to be set to 33 or higher.
  • Updated included iOS SDK to 5.1.0

5.0.5 Release

19 Oct 20:13
de21c7c
Compare
Choose a tag to compare

Fixed

  • Included meta files in OneSignalConfig.androidlib to prevent asset from being ignored
  • Package download url in the "Sync example code bundle package" step from the OneSignal SDK Setup

5.0.4 Release

11 Oct 17:28
d26c568
Compare
Choose a tag to compare

Changed

  • Updated included Android SDK to 5.0.3

5.0.3 Release

05 Oct 19:13
796569d
Compare
Choose a tag to compare

Changed

  • InstallEdm4uStep now imports version 1.2.177 of EDM4U
  • Updated included Android SDK to 5.0.2
  • Updated included iOS SDK to 5.0.2
  • OneSignalConfig.plugin has been changed to OneSignalConfig.androidlib. Run the "Copy Android plugin to Assets" step in Window > OneSignal SDK Setup to migrate. Custom notification icons are now located in Assets/Plugins/Android/OneSignalConfig.androidlib/src/main/res

Fixed

  • Sending VSAttribution data from the editor
  • iOS notifications clicked event firing if the app was cold started from clicking a notification
  • ClassNotFoundException: com.onesignal.OneSignal for Android builds with minify enabled. You must run the "Copy Android plugin to Assets" step in Window > OneSignal SDK Setup.
  • Disabled bitcode to avoid iOS build error

5.0.2 Release

01 Sep 18:51
a2339d4
Compare
Choose a tag to compare

Fixed

  • Stop foreground notifications from displaying after calling prevent default on iOS