Airship Flutter

The official Airship Flutter plugin for iOS and Android.

pub package License: Apache 2.0

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: ^11.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(MyApp());
}

For a more detailed setup guide, please see the full Getting Started Documentation.

Supported Versions

Airship Flutter Version Airship SDK Version Flutter Version Support Status
11.x 20.x 3.0.2+ Active
10.x 19.x 3.0.2+ Maintenance
9.x 18.x 3.0.2+ Unsupported

Table last updated: December 3, 2025

Requirements

iOS

  • iOS 16.0+
  • Xcode 14+
  • Swift 5.0+

Android

  • minSdkVersion 21
  • compileSdkVersion 35
  • Java 17
  • Kotlin 2.0.21+

Resources

Issues

Please visit https://support.airship.com/ for any issues integrating or using this plugin.

Libraries

airship_flutter
Airship Flutter plugin