onShow() {
let _this = this
console.log("oauth onShow start")
// #ifdef APP-PLUS
setTimeout(function() {
console.log("getArguments",plus.runtime.launcher, plus.runtime.arguments)
if (plus.runtime.launcher === 'miniProgram') {
_this.getArguments()
}
}, 3000)
// #endif
},
返回示例
08:59:17.020 getArguments, default, at pages/index/oauth.vue:387
c***@guiyun.com (作者)
从app打开小程序后,小程序携带参数跳回app,安卓端收不到参数,IOS没问题。
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html
2022-03-14 11:14
DCloud_Android_DQQ
回复 c***@guiyun.com: 是微信小程序?
2022-03-15 11:05