3.0.1 • Published 9 months ago

capacitor-onesignal v3.0.1

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

Capacitor OneSignal plugin

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

Setup for iOS

  1. Create a new app on OneSignal and follow the instructions to set up your app for iOS

https://documentation.onesignal.com/docs/ios-sdk-setup

BREAKING CHANGES in 2.x.x version

  • Added support for Capacitor 5

BREAKING CHANGES in 1.x.x version

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

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

4.0.0-beta.2

9 months ago

4.0.0-beta.1

10 months ago

4.0.0-beta.0

10 months ago

3.0.1

1 year ago

3.0.0

1 year ago

1.2.1

1 year ago

1.2.0

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago