airship_flutter 13.0.0
airship_flutter: ^13.0.0 copied to clipboard
Cross-platform plugin interface for the native Airship iOS and Android SDKs. Simplifies adding Airship to Flutter apps.
Airship Flutter #
The official Airship Flutter plugin for iOS and Android.
Features #
- Push Notifications - Rich, interactive push notifications with deep linking
- Live Activities & Live Updates - Real-time content updates on iOS Lock Screen and Android notifications
- In-App Experiences - Contextual messaging, automation, and Scenes
- Embedded Content - Render Airship Scenes directly in your Flutter app
- Message Center - Persistent inbox for rich messages with HTML, video, and interactive content
- Preference Center - User preference management
- Feature Flags - Dynamic feature toggles and experimentation
- Analytics - Comprehensive user behavior tracking
- Contacts - User identification and contact management
- Tags, Attributes & Subscription Lists - User segmentation, personalization, and subscription management
- Privacy Controls - Granular data collection and feature management
Quick Start #
Installation #
Add the dependency to your pubspec.yaml:
dependencies:
airship_flutter: ^13.0.0
Then run:
flutter pub get
Initialization #
Initialize Airship in your app:
import 'package:airship_flutter/airship_flutter.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Take off with config file credentials
await Airship.takeOff(AirshipConfig(
defaultEnvironment: ConfigEnvironment(
appKey: "YOUR_APP_KEY",
appSecret: "YOUR_APP_SECRET",
),
));
// Enable push notifications
await Airship.push.setUserNotificationsEnabled(true);
runApp(AirshipApp());
}
For a more detailed setup guide, please see the full Getting Started Documentation.
Versions and Support #
For the current Support Status of each module major, EOL dates, and the full lifecycle policy, see the Airship SDK Support Policy.
The iOS plugin is distributed via Swift Package Manager only. CocoaPods is no longer supported, matching the native iOS SDK. Make sure your app has SPM enabled (flutter config --enable-swift-package-manager on Flutter versions where it isn't the default) — see MIGRATION.md if you're upgrading from a CocoaPods-based setup.
Requirements #
iOS #
- iOS 16.0+
- Xcode 27+
- Swift 5.0+
Android #
- minSdkVersion 26
- compileSdkVersion 36
- Java 17
- Kotlin 2.0.21+
Resources #
- Documentation - Complete SDK integration guides
- API Reference - Detailed API documentation
- SDK Support Policy - Version lifecycle, support windows, and EOL dates across all Airship SDKs
- GitHub Issues - Report bugs and request features
- Changelog - Release notes and version history
- Migration Guide - Upgrade guides between major versions
Issues #
Please visit https://support.airship.com/ for any issues integrating or using this plugin.