plugin_openinstall 0.0.1 copy "plugin_openinstall: ^0.0.1" to clipboard
plugin_openinstall: ^0.0.1 copied to clipboard

openinstall plugin for android, ios not complete

plugin_openinstall #

OpenInstall 裂变 Flutter 插件

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/or iOS.

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

第一步: 在 flutter 项目的 Android 项目下添加如下代码

1.(可选 )如果使用 ProGuard 混淆时,遇到相关的警告,可以在你的 proguard-rules.pro 文件中添加下面代码 -keep class io.openinstall.*_ { _; }

2.在 manifest 标签中添加下面权限

一键拉起 在 manifest 的 MainActivity 中新增

5.项目中初始化 void main() async { WidgetsFlutterBinding.ensureInitialized(); await PluginOpeninstall.initOpenInstall(); await PluginOpeninstall.startOpenInstall();

runApp(const MyApp()); }

分享上报 目前插件中分享统计只有 Facebook Twitter Instagram Whatsapp Line Apple copy 其他的都会统计到Other 如果需要添加可以跟我反馈 PluginOpeninstall.reportShare("userId", "Platform")

获取从web网页中传递的动态参数时 PluginOpeninstall.getInstallParam()

目前只有Android端可以使用

0
likes
140
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

openinstall plugin for android, ios not complete

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on plugin_openinstall

Packages that implement plugin_openinstall