flutter_sharetrace

Last updated:

0 purchases

flutter_sharetrace Image
flutter_sharetrace Images
Add to Cart

Description:

flutter sharetrace

产品介绍 #
ShareTrace 专注于提供APP推广的技术解决方案。携带参数安装APP,精准追踪APP安装来源,实现免填邀请码、区分推广渠道等常见的APP推广场景。以低成本让APP推广更高效。

Flutter插件使用方法 #
1、初始化
appKey:官方平台申请的appKey
serverDomain:独立IP服务,暂支持android端,iOS需要Info.plist中配置
ShareTrace shareTrace = ShareTraceImpl.getInstance();
shareTrace.initShareTrace(appKey:'xxx',serverDomain:'xxx');
copied to clipboard
2、获取安装携带的参数
defaultTimeout:默认时间为10s钟
shareTrace.getInstallTrace(defaultTimeout:10).then((value){

});
copied to clipboard
3、获取上一次拉取(缓存)的数据 #
为了避免重复请求拉取数据,会将上一次请求获取读取到的数据缓存起来以便下一次访问
shareTrace.getCacheTraceData().then((value){

});
copied to clipboard
4、注册监听服务 #
Scheme:通过一键调起App传入的参数,若使用此功能需要根据官方教程配置Scheme
shareTrace.registerWakeupListener().listen((event) {
});
copied to clipboard

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.