github OneSignal/OneSignal-iOS-SDK 3.11.0-beta-01
3.11.0 Beta

latest releases: 5.2.8, 5.2.7, 5.2.6...
pre-release2 years ago

This beta release modularizes the iOS SDK to resolve issue #396.

Resolving the issue will require 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

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"

Don't miss a new OneSignal-iOS-SDK release

NewReleases is sending notifications on new releases.