Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件推荐 react-native-dankex APP实现免填邀请码 #910

Open
wuyuxifeng opened this issue Nov 16, 2024 · 0 comments
Open

插件推荐 react-native-dankex APP实现免填邀请码 #910

wuyuxifeng opened this issue Nov 16, 2024 · 0 comments

Comments

@wuyuxifeng
Copy link

react-native-dankex

介绍

蛋壳追踪 react native SDK

插件简介

本插件用于React Native 开发的安卓/IOS APP,

  • APP携带参数安装
  • 免填写邀请码,绑定上下级
  • 渠道统计
  • 一键拉起

蛋壳追踪同时支持多平台开发SDK( uniapp, 原生安卓,IOS,flutter, reative-native)

Demo

演示demo >>

该demo演示了, 从安装落地页(含有自定义的安装参数), 然后下载 安卓/IOS APP;

启动app后可以获取自定义的安装参数;

5分钟接入流程

安装

npm i react-native-dankex
or
yarn add react-native-dankex

使用

import DankeX from 'react-native-dankex';
DankeX.getInstallQuery({
    appkey: 'your appkey',  
    success(query){
        console.log('query=',query);  //query="code=123456&from=wx"  , 如果无参,query=""
    }

})

appkey: 登录蛋壳官网 https://www.dankex.cn 获取

例如你的落地页地址是: https://xxxxxxx.com/?code=12345678&ref=uniapp-jssdk

那么你获取的query参数为: code=12345678&ref=uniapp-jssdk

接入问题

微信在线

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant