github OneSignal/OneSignal-Flutter-SDK 5.5.0

latest releases: 5.5.7, 5.5.6, 5.5.5...
2 months ago

Channels: Current

🚀 New Features

  • feat: add Swift Package Manager support for iOS plugin (#1131)

Swift Package Manager (SPM) Support: Flutter's SPM integration is used automatically when enabled (the default in newer Flutter versions). No changes are needed for new projects.

Migrating from CocoaPods to SPM: Existing projects using CocoaPods can migrate by:

  1. Remove enable-swift-package-manager: false from pubspec.yaml (if present)
  2. Delete Podfile, Podfile.lock, and Pods/ directory
  3. Remove CocoaPods include lines from ios/Flutter/Debug.xcconfig and ios/Flutter/Release.xcconfig
  4. Run flutter run, Flutter adds SPM integration automatically

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

NewReleases is sending notifications on new releases.