1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: Add isWXAppSupportApi props.

This commit is contained in:
jaywcjlove
2020-08-01 19:47:56 +08:00
parent ec14ccee87
commit ae9cf92755
3 changed files with 22 additions and 1 deletions

View File

@@ -17,4 +17,10 @@ export default class Wechat {
static isWXAppInstalled() {
return NativeModules.RNWechat.isWXAppInstalled();
}
/**
* 判断当前微信的版本是否支持OpenApi支持返回 true不支持返回 false
*/
static isWXAppSupportApi() {
return NativeModules.RNWechat.isWXAppSupportApi();
}
}