flutter_iomb_library 0.9.7 copy "flutter_iomb_library: ^0.9.7" to clipboard
flutter_iomb_library: ^0.9.7 copied to clipboard

Unoffical INFOnline Flutter Library Android/iOS (Zensus Messung IOMb)

example/lib/main.dart

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

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  IombLibrary.instance.setFlutterDebugModeEnabled(true);
  await IombLibrary.instance.android.setDebugModeEnabled(true);
  await IombLibrary.instance.ios.setDebugLogLevel(IOMBDebugLevel.trace);

  await IombLibrary.instance.sessionConfiguration(
    baseURL: '<yourBaseURL>',
    offerIdentifier: '<yourIdentifier>',
  );

  await IombLibrary.instance.logViewEvent(type: IOMBViewEvent.appeared, category: 'home');

  runApp(const MyApp());
}

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

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

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('IombLibrary Plugin'),
        ),
        body: const Center(
          child: Column(
            children: [
              Text('Running'),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
150
points
852
downloads

Publisher

verified publishercodeforce.dev

Weekly Downloads

Unoffical INFOnline Flutter Library Android/iOS (Zensus Messung IOMb)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_iomb_library

Packages that implement flutter_iomb_library