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

chore(iOS): 添加微信 SDK v1.8.7.1

This commit is contained in:
jaywcjlove
2020-08-01 18:05:40 +08:00
parent 15c37db766
commit 973a80c9ba
18 changed files with 1659 additions and 136 deletions

View File

@@ -1,5 +1,14 @@
import { NativeModules } from 'react-native';
const { RNWechat } = NativeModules;
// const { RNWechat } = NativeModules;
export default RNWechat;
export default class Wechat {
/**
* 向微信注册应用
* @param appid 通过微信开放平台,[获取appid](https://open.weixin.qq.com/)
* @param universalLink Universal Link(通用链接)是苹果在 iOS9 推出的,一种能够方便的通过传统 HTTPS 链接来启动 APP 的功能,可以使用相同的网址打开网址和 APP。
*/
static registerApp(appid, universalLink) {
return NativeModules.RNAMapGeolocation.registerApp(appid, universalLink);
}
}