nanoaf 0.0.1 copy "nanoaf: ^0.0.1" to clipboard
nanoaf: ^0.0.1 copied to clipboard

PlatformiOS

A Flutter plugin for device compatibility gating with remote server checks, AppsFlyer integration, loading screens, and in-app browser redirects.

nanoaf #

A lightweight Flutter plugin that provides a smooth loading experience with AppsFlyer integration. Shows a loading screen while performing initial configuration, AppsFlyer initialization, and setup in the background.

Features #

  • Customizable loading screen with remote image support
  • Background initialization and configuration checks
  • AppsFlyer SDK integration with custom user ID
  • Sends appsflyer_id in server check parameters
  • Smooth fade animations during loading
  • Automatic caching for faster subsequent launches
  • Debug mode for development

Getting Started #

Wrap your app with NanoafGate to add a loading screen:

import 'package:flutter/material.dart';
import 'package:nanoaf/nanoaf.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(
    NanoafGate(
      config: const NanoafConfig(
        baseAddress: 'https://your-app.com',
        configKey: 'your-config-key',
        imagePath: '/images/splash.jpg',
        appsFlyerDevKey: 'YOUR_APPSFLYER_DEV_KEY',
      ),
      child: const MyApp(),
    ),
  );
}

Configuration #

Parameter Description Default
baseAddress Base address for loading resources required
configKey Configuration key for the app required
imagePath Path to the loading image required
appsFlyerDevKey AppsFlyer dev key for SDK initialization required
imageDownloadTimeoutSeconds Timeout for image download 10
debugMode Enable debug logging false

Platform Support #

Platform Support
iOS Yes
0
likes
130
points
74
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for device compatibility gating with remote server checks, AppsFlyer integration, loading screens, and in-app browser redirects.

Documentation

API reference

License

MIT (license)

Dependencies

appsflyer_sdk, ffi, flutter, http, plugin_platform_interface, shared_preferences, url_launcher, uuid

More

Packages that depend on nanoaf

Packages that implement nanoaf