Skip to main content

Introduction

Atelerix uses Firebase Cloud Messaging (FCM) to deliver push notifications on Android and iOS. After you complete the Flutter installation, follow the platform steps below to enable push delivery in your app.
Make sure you have initialized the SDK with Atelerix.init() before configuring push notifications.

Android configuration

No additional SDK setup is required for Android. You only need to add your Firebase google-services.json file to the project.
  1. Create or open your app in the Firebase Console.
  2. Download google-services.json for your Android app.
  3. Upload the file to the Atelerix dashboard.
For the full setup steps, see the Firebase Android setup guide.

iOS configuration

You need an active Apple Developer account to send push notifications on iOS.

Set up APNs authentication

  1. In the Apple Developer portal, go to Certificates, Identifiers & Profiles → Keys.
  2. Create a new key with Apple Push Notifications service (APNs) enabled.
  3. Download the .p8 authentication key and note the Key ID. You can only download the key once.
  4. Upload the .p8 file to the Atelerix dashboard.
For the full setup steps, see the APNs authentication guide.

AppDelegate configuration

Add the following overrides to ios/Runner/AppDelegate.swift:
AppDelegate.swift

Huawei configuration

Coming Soon Huawei push notification support is not available yet. Check back soon for setup instructions.

Flutter code

Call await Atelerix.notifications.init() to initialize notifications. Call await Atelerix.notifications.requestPermissions() to request notification permissions.
main.dart