superflu

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

superflu

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
copied to clipboard
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);
copied to clipboard
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>
copied to clipboard
For help getting started with Flutter development, view the
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.