xu-li / cordova-plugin-wechat

A cordova plugin, a JS version of Wechat SDK
1.22k stars 509 forks source link

fix(sdk): make recommended SDK updates #624

Closed colbymelvin closed 9 months ago

colbymelvin commented 9 months ago

No ticket, in further debugging of the production build via Android Studio / LogCat, we noticed the following:

Screenshot 2023-09-28 at 12 07 51 PM

Note that I highlighted what I thought was the most important error, but that other errors were being thrown from the com.tencent.mm package.

I remembered seeing something on the WeChat Android development guide related to that package: https://developers.weixin.qq.com/doc/oplatform/en/Mobile_App/Access_Guide/Android.html

Notably the addition of the com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+ API dependency to the gradle file. Also something about Maven vs. jCentral but maybe less important (I included it here anyway)?