Skip to content

Releases: OneSignal/OneSignal-Cordova-SDK

Release 3.3.2

26 Mar 21:11
21f02d1
Compare
Choose a tag to compare

What's Changed

Release 5.1.0

08 Mar 20:02
6019f00
Compare
Choose a tag to compare

What's Changed

🎉 New Methods 🎉

  • Add getter for onesignalId and externalId and a UserState Observer to be notified of changes in [#959]
  • Add asynchronous getter methods for Notifications permission and Push Subscription token, id,optedIn in [#977]
    • ⚠️ Previous methods Notifications.hasPermission, User.pushSubscription.id, User.pushSubscription.token, and User.pushSubscription.optedIn are now deprecated but non-breaking. ⚠️
    • See the Push Subscription Namespace API Reference and Notifications Namespace API Reference in the Migration Guide for usage of new methods getPermissionAsync, getIdAsync, getTokenAsync, and getOptedInAsync.

Native Changes

  • Bump Android Native Version to 5.1.6
  • Bump iOS Native Version to 5.1.3

Full Changelog: 5.0.6...5.1.0

5.0.6

14 Feb 00:10
1f770f5
Compare
Choose a tag to compare

What's Changed

Native SDK Updates

  • Bump Android Native Version to 5.1.4

Full Changelog: 5.0.5...5.0.6

Release 5.0.5

31 Jan 00:00
d56bdbe
Compare
Choose a tag to compare

What's Changed

⚠️ Behavior Changes ⚠️

  • Location sharing with OneSignal now defaults to false: You will need to explicitly enable location sharing with OneSignal with OneSignal.Location.setShared(true)

🐛 Bug Fixes

  • Fix notification foreground listener preventing notification display - #963

Native SDK Updates

  • Bump iOS Native Version to 5.1.0
  • Bump Android Native Version to 5.1.2

Full Changelog: 5.0.4...5.0.5

Release 5.0.4

06 Dec 22:55
d09da15
Compare
Choose a tag to compare

What's Changed

  • Fix: Update addTags method to convert tag values to string - #945
  • Add public getTags method - #944

Native SDK Updates

  • Update Android SDK to 5.0.5
  • Update iOS SDK to 5.0.5

Full Changelog: 5.0.3...5.0.4

Release 5.0.3

09 Nov 20:45
3e99193
Compare
Choose a tag to compare

What's Changed

  • Remove modifying manifest placeholders in #937
  • V5 resolve request permission in #936

Native SDK Updates

Update Android SDK to 5.0.4

Update iOS SDK to 5.0.4

Full Changelog: 5.0.2...5.0.3

Release 5.0.2

06 Oct 23:27
79fed64
Compare
Choose a tag to compare

Native SDK Updates

Updated included Android SDK to 5.0.3

Full Changelog: 5.0.1...5.0.2

Release 5.0.1

27 Sep 18:25
a779f5a
Compare
Choose a tag to compare

What's Changed

Native Updates

Updated included Android SDK to 5.0.2
Updated included iOS SDK to 5.0.2

Full Changelog: 5.0.0...5.0.1

Release 5.0.0

01 Sep 22:22
7b14f6b
Compare
Choose a tag to compare

⚠️ This is a major release which contains breaking API changes.

In this major version release for the OneSignal Cordova SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

Note that Identity Verification has not yet been enabled in this version and will be released in a later version

What's Changed Since beta-02

API Updates

  • setLaunchURLsInApp has been removed
  • Rename OneSignal.init to OneSignal.initialize
  • Rename OneSignal.Notifications.permission to OneSignal.Notifications.hasPermission()
  • All observers/listeners updated to use addEventListener and removeEventListener
  • Rename and fix event types passed to developers' listeners
  • Make InAppMessageClickResult.urlTarget a string type and fix iOS so it matches Android
  • Add OneSignal.Notifications.permissionNative() method
  • Add LogLevel enum
  • Add OneSignal.Notifications.canRequestPermission() for Android
  • Export all public types
  • In native bridges, check for existence of callbacks before firing and prevent adding any listener more than once
  • Use promises instead of callbacks for these methods:
    await OneSignal.Location.isShared()
    await OneSignal.Notifications.requestPermission(fallbackToSettings?: boolean)
    await OneSignal.Notifications.canRequestPermission()
    await OneSignal.InAppMessages.getPaused() // which is also renamed from `isPaused`

Native Updates

Updated included Android SDK to 5.0.0
Updated included iOS SDK to 5.0.1

For information please see the migration guide.

Full Changelog: 5.0.0-beta-02...5.0.0

Release 5.0.0-beta-02

02 Jun 22:43
d933165
Compare
Choose a tag to compare
Release 5.0.0-beta-02 Pre-release
Pre-release

🚧 Beta release. Please test thoroughly prior to production use. 🚧

What's Changed Since beta-01

API Updates

Notification, In App Message, and Push Subscription events have been renamed. The migration guide has been updated to reflect the changes.

Native Updates

Updated included Android SDK to 5.0.0-beta4
Updated included iOS SDK to 5.0.0-beta-04