1. Installation

Run this command:

flutter pub add notix_inapp_flutter

This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get):

  notix_inapp_flutter: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

2. Import

import 'package:notix_inapp_flutter/notix.dart';

Push notifications setup

Call Notix.Notification.init using your notixAppId and notixToken. These credentials can be found on the page of your In-App Android source

Notix.Notification.init(/* your notixAppId */, /* your notixToken */);

Run the app and send your first notification!

Interstitial setup

Create a loader that will be accessible throughout your app and call startLoading():

var loader = await Notix.Interstitial.createLoader(/* your zone id */);

At the show site get InterstitialData instance from the loader and pass it to

InterstitialData interstitialData;
try {
    interstitialData = await;
} catch (e) {
    /* handle exception */

You do not need to manage the loader yourself. It does its best effort to load and cache exactly 3 entries.

Further steps

For additional settings please visit this page