feat 修复 miniProgramType 大小写导致参数失效的问题
This commit is contained in:
parent
c3209151a1
commit
62916e8c4a
@ -458,7 +458,7 @@ public class WeChatModule extends ReactContextBaseJavaModule implements IWXAPIEv
|
||||
// 兼容低版本的网页链接
|
||||
miniProgramObj.webpageUrl = data.hasKey("webpageUrl") ? data.getString("webpageUrl") : null;
|
||||
// 正式版:0,测试版:1,体验版:2
|
||||
miniProgramObj.miniprogramType = data.hasKey("miniprogramType") ? data.getInt("miniprogramType") : WXMiniProgramObject.MINIPTOGRAM_TYPE_RELEASE;
|
||||
miniProgramObj.miniprogramType = data.hasKey("miniProgramType") ? data.getInt("miniProgramType") : WXMiniProgramObject.MINIPTOGRAM_TYPE_RELEASE;
|
||||
// 小程序原始id
|
||||
miniProgramObj.userName = data.hasKey("userName") ? data.getString("userName") : null;
|
||||
// 小程序页面路径;对于小游戏,可以只传入 query 部分,来实现传参效果,如:传入 "?foo=bar"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-wechat-lib",
|
||||
"version": "1.1.19-notpay",
|
||||
"version": "1.1.20-notpay",
|
||||
"description": "react-native library for wechat app. 支持分享和拉起小程序。",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user