朗读小咖秀小程序多端插件

zhangmengjie 771457692c 更新 'README.md' 8 meses atrás
android b6beb9247c 1.commit 8 meses atrás
build c1c0d9e62c 1.增加申请权限接口等 1 ano atrás
ios a9e0031850 2 1 ano atrás
miniprogram c1c0d9e62c 1.增加申请权限接口等 1 ano atrás
.eslintrc.js a9e0031850 2 1 ano atrás
README.md 771457692c 更新 'README.md' 8 meses atrás
project.config.json a9e0031850 2 1 ano atrás
project.miniapp.json c1c0d9e62c 1.增加申请权限接口等 1 ano atrás
project.private.config.json a9e0031850 2 1 ano atrás

README.md

项目:朗读小咖秀插件(带渠道登录支付测试版) 插件ID:wxf1a06dafa3350688
插件版本:1.0.53

Android端方法---JS调用方法:


初始化插件(通过反射赋值application以及topActivity)
initPluginMethod(data: JSONObject?, callback: (data: Any) -> Unit)---->initPlugin(({}), (res) => {})

获取deviceUUID,SyncJsApi,直接返回值
getDeviceUUID(data: JSONObject?)---->getDeviceUuid({})

初始化联想SDK
lenovoInit(data: JSONObject?, callback: (data: Any) -> Unit)---->lenovoInitSDK(({}), (res) => {})

联想渠道登陆
lenovoLogin(data: JSONObject?, callback: (data: Any) -> Unit)---->lenovoLogin(({}), (res) => {})

联想渠道退出登陆
lenovoLogout(data: JSONObject?, callback: (data: Any) -> Unit)---->lenovoLogout(({}), (res) => {})

初始化支付宝支付
aliPayInit(data: JSONObject?, callback: (data: Any) -> Unit)---->aliPayInit(({}), (res) => {})

支付宝支付(接收小程序传参)
aliPay(data: JSONObject?, callback: (data: Any) -> Unit)---->aliPay(({}), (res) => {})

初始化权限(接收小程序传参)
initPermission(data: JSONObject?, callback: (data: Any) -> Unit)---->initPermissions(({}), (res) => {})

检查是否有权限(接收小程序传参),直接返回boolean值
checkPermission(data: JSONObject?)---->checkPermission({})