Hector-Chong / native-wechat

A React Native library for supporting Wechat APIs on Android and iOS
https://native-wechat.hector.im
MIT License
133 stars 11 forks source link

fix: isWechatInstalled is not working #49

Closed wutiange closed 3 weeks ago

wutiange commented 3 weeks ago
  1. isWechatInstalled函数的逻辑反了

  2. 第一个参数指的错误,但测试发现这个参数就是代表是否安装

  3. 对于这个函数来说,第一个参数默认就是 null

  4. The logic of the isWechatInstalled function is reversed.

  5. The first parameter is incorrectly described, but testing revealed that this parameter indeed represents whether WeChat is installed.

  6. For this function, the first parameter is null by default.

Hector-Chong commented 3 weeks ago

Thank you for your contribution!

Hector-Chong commented 3 weeks ago

1.18.0 is now available on NPM.