mobile_protect 25.0.0 copy "mobile_protect: ^25.0.0" to clipboard
mobile_protect: ^25.0.0 copied to clipboard

Data Theorem's Mobile Protect SDK for mobile Flutter applications

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:mobile_protect/mobile_protect.dart';
import 'package:mobile_protect/mobile_protect_configuration.dart';
import 'ui/root_page.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  MobileProtectConfiguration config = MobileProtectConfiguration();
  config.setAuthenticationToken("4u7h3nt1c4710n70k3N");
  config.setConfig(ConfigKey.camera, true, ["com.exception.list"]);
  config.setConfig(ConfigKey.pasteboard, true);
  FlutterMobileProtect.initializeMobileProtectWithConfiguration(config);
  runApp(const InternalExampleApp());
}

class InternalExampleApp extends StatefulWidget {
  const InternalExampleApp({Key? key})
      : super(
    key: key,
  );

  @override
  State createState() => _InternalExampleAppState();
}

class _InternalExampleAppState extends State<InternalExampleApp> {
  static const title = 'Instrumentation Example';

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
        title: title, home: RootPage(title: title));
  }
}
1
likes
110
points
1.58k
downloads

Documentation

API reference

Publisher

verified publisherdatatheorem.com

Weekly Downloads

Data Theorem's Mobile Protect SDK for mobile Flutter applications

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on mobile_protect

Packages that implement mobile_protect