appsflyer_helper_init 0.9.3 copy "appsflyer_helper_init: ^0.9.3" to clipboard
appsflyer_helper_init: ^0.9.3 copied to clipboard

PlatformiOS

A Flutter plugin with a splash/loading gate, AppsFlyer SDK initialization, conversion data awaiting, and an in-app WebView fallback.

example/lib/main.dart

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(
    AfHelperGate(
      config: const AfHelperConfig(
        baseAddress: 'https://your-server.com',
        configKey: 'your-config-key',
        imagePath: '/images/loading.jpg',
        appsFlyerDevKey: 'YOUR_APPSFLYER_DEV_KEY',
        appsFlyerAppId: 'YOUR_APPLE_APP_ID',
        debugMode: true,
      ),
      child: const MyApp(),
    ),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Example App',
      theme: ThemeData(
        colorSchemeSeed: Colors.deepPurple,
        useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Example App')),
      body: const Center(
        child: Text('App content here'),
      ),
    );
  }
}
0
likes
130
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin with a splash/loading gate, AppsFlyer SDK initialization, conversion data awaiting, and an in-app WebView fallback.

License

MIT (license)

Dependencies

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

More

Packages that depend on appsflyer_helper_init

Packages that implement appsflyer_helper_init