airship_flutter
13.0.0, released 2 months ago by airship.com
Cross-platform plugin for native Airship iOS and Android SDKs.
What it does
Provides cross-platform access to native Airship iOS and Android SDK features such as push notifications, live activities, in-app experiences, message centers, analytics, and feature flags. It simplifies integrating Airship services into Flutter applications.
AI-written summary of version 13.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Airship push notifications and messaging into a Flutter app.
- You require advanced user segmentation, feature flags, or message center capabilities provided by Airship.
Skip it when
- Your project targets iOS versions older than 16.0 or Android API levels lower than 26.
- You are using CocoaPods on iOS, as Swift Package Manager is strictly required.
Strengths
- Official Airship plugin supporting rich push notifications, live activities, and in-app experiences.
- Keeps pace with native iOS and Android SDK updates.
- Provides built-in analytics, contact management, and preference centers.
Weaknesses
- Drops CocoaPods support in favor of Swift Package Manager on iOS.
- Raises the minimum Android SDK requirement to 26 and minimum Flutter version to 3.44.0.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires enabling Swift Package Manager on iOS (flutter config --enable-swift-package-manager), minimum Android SDK 26, and initializing Airship in main() with your app credentials.
import 'package:airship_flutter/airship_flutter.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Airship.takeOff(AirshipConfig(
defaultEnvironment: ConfigEnvironment(
appKey: "YOUR_APP_KEY",
appSecret: "YOUR_APP_SECRET",
),
));
await Airship.push.setUserNotificationsEnabled(true);
runApp(AirshipApp());
}Alternatives
Packages that do the same job and could replace airship_flutter.
- pushy_flutter
Official Pushy SDK for sending push notifications in Flutter apps
75Compare