1.2.1 • Published 2 months ago

capacitor-onesignal v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Capacitor OneSignal plugin

Currently only works on ios, but android support will be coming soon

Required actions after upgrading to 1.1.0

This SDK update requires changes to how the SDK is imported, but this release in general should be a non breaking change.

For Swift Package Manager

  • Use product OneSignal for your app target, and product OneSignalExtension for your Notification Service Extension target.
  • Then in your NotificationService class import OneSignalExtension instead of OneSignal and change references of OneSignal in method bodies to OneSignalExtension

For Cocoapods

  • In your Podfile make sure that your Notification Service Extension target is nested in your App target.
  • Use pod OneSignal or OneSignalXCFramework (they are now identical) for your app target, and subspec OneSignal/OneSignalExtension or OneSignalXCFramework/OneSignalExtension for your Notification Service Extension target.
  • Then in your NotificationService class import OneSignalExtension instead of OneSignal
  • Lastly from the Other Linker Flags build setting in your Notification Service Extension target remove $(inherited) and -framework "OneSignal"

More: https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/3.11.0

BREAKING CHANGES in 1.x.x version

  • Added full support for Capacitor 3 and removed compatibility with Capacitor 2
1.2.1

2 months ago

1.2.0

8 months ago

2.1.0

8 months ago

2.0.1

8 months ago

2.0.0

10 months ago

1.1.0

1 year ago

1.0.0

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago