1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-wechat/index.d.ts

26 lines
1.0 KiB
TypeScript
Raw Normal View History

2020-08-01 18:05:40 +08:00
/**
*
2020-08-01 21:26:56 +08:00
* Android
2020-08-01 18:05:40 +08:00
* @param appid [appid](https://open.weixin.qq.com/)
* @param universalLink iOS Universal Link() iOS9 便 HTTPS APP 使 APP
2020-08-01 18:05:40 +08:00
*/
2020-08-01 19:44:52 +08:00
export function registerApp(appid: string, universalLink: string): void;
/**
*
* `true` `false`
*/
2020-08-02 02:04:01 +08:00
export function isWXAppInstalled(): Promise<boolean>;
2020-08-01 19:47:56 +08:00
/**
* OpenApi
2020-08-05 12:42:05 +08:00
* `true` `false`
2020-08-01 19:47:56 +08:00
*/
2020-08-02 02:04:01 +08:00
export function isWXAppSupportApi(): Promise<boolean>;
2020-08-05 12:42:05 +08:00
/**
* `true` `false`
*/
export function openWXApp(): Promise<boolean>;
2020-08-02 02:04:01 +08:00
/**
* SDK的版本号
*/
export function getApiVersion(): Promise<string>;