Skip to content

Releases: OneSignal/OneSignal-Flutter-SDK

Release 5.2.5

06 Sep 20:06
92e6094
Compare
Choose a tag to compare

🔧 Native Dependency Updates Only

Update Android SDK from 5.1.20 to 5.1.21 release notes

🐛 Bug Fixes

Update iOS SDK from 5.2.3 to 5.2.4 release notes

✨ Improvements

Full Changelog: 5.2.3...5.2.5

Release 5.2.4

29 Aug 21:59
a9d192c
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • set compileSdkVersion 34 to fix build errors (#935)

Full Changelog: 5.2.3...5.2.4

Release 5.2.3

15 Aug 23:14
3739275
Compare
Choose a tag to compare

What's Changed

✨ Improvements

  • Removed duplicate "longer" MIGRATION_GUIDE.md (#914)
  • Set wrapper sdk type before calling initialize (#932)

🔧 Native Updates

Update Android SDK from 5.1.17 to 5.1.20 release notes

🐛 Bug Fixes

  • IAM with dynamic trigger showing forever (#2137)
  • Allow preventDefault to be fired up to two times (#2138)
  • Recover null onesignal ID crashes for Operations (#2157)
    *Prevent retrying IAM display if 410 is received from backend (#2158)

✨ Improvements

  • Optimized the initialization process by moving some service initialization to a background thread (#2125)
  • Add option to default to HMS over FCM (#2163)
  • Remove fallback code for FCM pre-21.0.0 (#2148)
  • Clean up Android Support Library references, drop dependency on androidx.legacy, & Android 4.4 and older code (#2147)

Update iOS SDK from 5.2.2 to 5.2.3 release notes

🐛 Bug Fixes

  • The user executor needs to uncache first which fixes some cached requests being dropped for past users (#1465)

✨ Improvements

  • Omit misleading fatal-level log for cross-platform SDKs (#1468)

🛠️ Maintenance

  • [For our server] Use only OneSignal ID for requests (#1464)

Full Changelog: 5.2.2...5.2.3

Release 5.2.2

03 Jul 20:40
66b669b
Compare
Choose a tag to compare

What's Changed

🔧 Maintenance

  • chore: add warning for identity verification in #901

🔧 Update Android SDK from 5.1.15 to 5.1.17

🔧 Update iOS SDK from 5.2.1 to 5.2.2

Full Changelog: 5.2.0...5.2.2

Release 5.2.1

21 Jun 23:14
dcd8d86
Compare
Choose a tag to compare

🔧 Native SDK Dependency Updates

Update Android SDK from 5.1.13 to 5.1.15

For full changes, see the native release notes

🐛 Bug Fixes

✨ Improvements

Update iOS SDK from 5.2.0 to 5.2.1

5.2.1 Release Notes

🐛 Bug Fixes

  • Fix warning about decoding a boolean (#1436)
  • Fix a purchases bug for the amount spent (#1444)
  • Fix a build issue for mac catalyst (#1446)
  • Fix crash when IAM window fails to load by using the main thread (#1447)

🔧 Maintenance

  • Network call optimizations: Combine user property updates for network call improvements (#1444)

Full Changelog: 5.2.0...5.2.1

Release 5.2.0

16 May 22:39
b9e6c44
Compare
Choose a tag to compare

What's New

🎉 iOS - Push to Start Live Activities

Starting with iOS 17.2, Live Activities can now be started via push notification (Apple's documentation). This change enhances the OneSignal SDK to provide application's access to the full suite of Live Activity functionality.

To use Push To Start Live Activities, see documentation on How to start a Live Activity with a remote push notification.

Default Live Activity
The concept of a "Default" Live Activity has been established in the SDK, which eliminates the need for a customer app to define and manage their own ActivityAttributes. The primary use case of the "Default" Live Activity is to facilitate easier cross-platform adoption.

  • A new function OneSignal.LiveActivities.setupDefault() which tells the OneSignal SDK to manage the LiveActivity lifecycle for the DefaultLiveActivityAttributes type. When calling this method, a customer can use both push-to-start and push-to-update notifications to start/update/end their Default Live Activity.
  • A new function OneSignal.LiveActivities.startDefault(activityId, activityAttributes, initialContentState) which allows a customer app to start a live activity based on the DefaultLiveActivityAttributes type "in app".

Four New APIs for Live Activities

OneSignal.LiveActivities.setupDefault()
OneSignal.LiveActivities.startDefault(activityId, activityAttributes, initialContentState)
OneSignal.LiveActivities.setPushToStartToken(String activityType, String token)
OneSignal.LiveActivities.removePushToStartToken(String activityType)

Please see the PR description for more details.

  • Push to start live activities added to the SDK (#881)

🔧 Native SDK Dependency Updates

Update Android SDK from 5.1.10 to 5.1.13

  • For full changes, see the native release notes
    🐛 Bug Fixes
  • [Fix] grouping skipping opRepoPostCreateDelay, causing operations being applied out of order when multiple login operations are pending. (fixes issue since 5.1.10) (2087)
  • [Fix]: Cancelling permission request dialog does not fire continuation (2085)
  • [Fix] RecoverFromDroppedLoginBug not running in very rare cases (2084)
  • Fix the ANR issue caused by prolonged loading of OperationRepo and potentially by extended holding of the model lock during disk I/O read operations. (2068)
    🔧 Maintenance
  • Add HTTP header OneSignal-Install-Id that allows the OneSignal's backend know where traffic is coming from (2072)

Update iOS SDK from 5.1.6 to 5.2.0

  • 5.2.0 Release Notes
  • ✨ Privacy Manifest Improvements
  • 🐛 [Bug] Fix rare scenario of dropping data when multiple logins are called (1427)

Release 5.1.6

01 May 22:50
67bc03c
Compare
Choose a tag to compare

🔧 Native SDK Dependency Updates Only

Update Android SDK from 5.1.9 to 5.1.10

  • 5.1.10 release notes
  • 🛠️ Added additional Network call optimizations
  • 🐛 Handle incorrect 404 responses; add a delay after creates and retries on 404 of new ids #2095

Update iOS SDK from 5.1.5 to 5.1.6

  • 5.1.6 Release Notes
  • 🐛 Bug Fixes
    • Fix crashes when encoding user models #1412
    • Some pending properties can be sent to new user, when users change quickly after the last updates are made (#1418)
    • Fix crash in OneSignalAttachmentHandler trimURLSpacing method (#1411)
    • Fix crash when handling a dialog result when stack traces point to delayResult (#1417)
    • [Bug] Remove IAM window when an in app message is inactive (#1413)

Full Changelog: 5.1.5...5.1.6

Release 5.1.5

16 Apr 21:50
6c88254
Compare
Choose a tag to compare

🔧 Native SDK Dependency Updates Only

Update Android SDK from 5.1.8 to 5.1.9

  • 5.1.9 release notes
  • Added Network call optimizations
  • Fix for WorkManager not initialized crash
  • Added AndroidManifest options 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"/>

Update iOS SDK from 5.1.4 to 5.1.5

  • 5.1.5 Release Notes
  • ✨ In-App Message Enhancements:
    • The status bar will be hidden on full-bleed In-App Messages
    • Add back the dropshadow on In-App Messages and include a plist option to disable it
    • Add plist option to override and hide the gray overlay to In-App Messages
OneSignal_in_app_message_hide_gray_overlay
OneSignal_in_app_message_hide_drop_shadow

Release 5.1.4

10 Apr 16:01
6cf538c
Compare
Choose a tag to compare

🔧 Native SDK Dependency Updates Only

Update Android SDK from 5.1.6 to 5.1.8

  • Fix crash with EventProducer's fire events (OneSignal/OneSignal-Android-SDK#2034)
  • Battery improvements
    • Possibly resolves issue #1880 "Egregious levels of battery drain"
    • Prevent OperationRepo from continuously pulling when empty (#2033)
    • Add backoff to OperationRepo when retrying network calls (#2017)
    • Limit refresh User and GET IAMs to foreground (#2036)
  • Fixes network call batching not waiting the full 5 seconds in most cases to reduce the total number of REST API calls to OneSignal.
  • external_id skipped and updates stop if something updates the User (such as addTag) shortly before login is called (OneSignal/OneSignal-Android-SDK#2046)
  • For full changes, see the native release notes

Update iOS SDK from 5.1.3 to 5.1.4

Release 3.5.3

26 Mar 21:50
4ec2671
Compare
Choose a tag to compare

What's Changed