superflu 0.0.9 copy "superflu: ^0.0.9" to clipboard
superflu: ^0.0.9 copied to clipboard

SuperInstall Flutter Plugin For Android IOS and Web/H5.

superflu #

SuperInstall Flutter Plugin For Android IOS and Web/H5.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and iOS and H5.

Installation #

flutter pub add superflu

Usage #

If show this error: "Not found: 'dart:js' export 'dart:js' show allowInterop, allowInteropCaptureThis" Please do following steps: vim .pub-cache/hosted/pub.flutter-io.cn/js-0.6.4/lib/js.dart comment this line "export 'dart:js' show allowInterop, allowInteropCaptureThis;"

    final _superfluPlugin = Superflu();
    _superfluPlugin.init("APP_KEY", "APP_SECRET");
     Map<String,dynamic>? res=await _superfluPlugin.getInstall();
     print("channel is");
     print(res);
     _superfluPlugin.register("RGISTER_ID");
     _superfluPlugin.point("POINT_ID", POINT_VALUE);

Note for web #

Please add the web sdk to directory web and add following code to web/index.html. The super.sdk.min.js can be download at https://manage.superinstall.click/super.sdk.min.js

    <script src="super.sdk.min.js"></script>

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0
likes
110
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

SuperInstall Flutter Plugin For Android IOS and Web/H5.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on superflu