I. Problem description

Tim.event.SDK_READY EVENT file address cannot be received using tim-wX-SDK

Second, find the document

Tencent documents show common problems: imsdk-1252463788.file.myqcloud.com/IM_DOC/Web/… The problem is described as follows: Why cannot tim.event.sdk_ready be received when WebIM v2.x is integrated with Taro development project? WebIM v2.x does not need to be compiled by Taro. If you integrate WebIM through NPM I, Please manually copy the file node_modules/tim-js-sdk/tim-js-sdk.js or node_modules/tim-wx-sdk/tim-wx-sdk.js to the SRC directory of your project. Configure it in the configuration file (see Compiling configuration details for more details).

Solution: change the SDK to local reference, and do not compile taro

3.1 Change tim-wx-sdk to local references instead of node_modules

3.2 Configuring Taro Does not compile tim-wX-SDK

Taro configures the document portal

4. Tim.event.SDK_READY events can be received normally after recompilation