adjust_helper_init 0.1.0 copy "adjust_helper_init: ^0.1.0" to clipboard
adjust_helper_init: ^0.1.0 copied to clipboard

PlatformiOS

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

example/lib/main.dart

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(
    AdjustHelperGate(
      config: const AdjustHelperConfig(
        baseAddress: 'https://your-server.com',
        configKey: 'your-config-key',
        imagePath: '/images/loading.jpg',
        adjustAppToken: 'YOUR_ADJUST_APP_TOKEN',
        adjustSandbox: true,
        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
140
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

MIT (license)

Dependencies

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

More

Packages that depend on adjust_helper_init

Packages that implement adjust_helper_init