Skip to main content

adforus_ual_adapter 1.0.2 copy "adforus_ual_adapter: ^1.0.2" to clipboard
adforus_ual_adapter: ^1.0.2 copied to clipboard

Native UAL SDK dependencies for the Adforus Flutter plugin, with Android and iOS support through CocoaPods and Swift Package Manager.

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  late final Future<String?> _platformVersion = const MethodChannel(
    'ual_adapter',
  ).invokeMethod<String>('getPlatformVersion');

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Adforus UAL Adapter')),
        body: Center(
          child: FutureBuilder<String?>(
            future: _platformVersion,
            builder: (context, snapshot) {
              if (snapshot.hasError) {
                return Text('Plugin registration failed: ${snapshot.error}');
              }
              if (snapshot.connectionState != ConnectionState.done) {
                return const CircularProgressIndicator();
              }
              return Text('Running on: ${snapshot.data}');
            },
          ),
        ),
      ),
    );
  }
}
0
likes
150
points
220
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native UAL SDK dependencies for the Adforus Flutter plugin, with Android and iOS support through CocoaPods and Swift Package Manager.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on adforus_ual_adapter

Packages that implement adforus_ual_adapter