• I. Problem Description:

The following three errors occur when using umENG SDK:

UMengShare<6.9.8>(Info):[UMSocialManager:442][SCI10006] Share/Authorize If you cannot return to the application (wechat, QQ, Weibo, etc.) after logging in. [https://developer.umeng.com/docs/66632/detail/67028?um_channel=sdk] UMengShare < 6.9.8 > (Info) : [UMSocialWechatHandler: 1118] [SWI10007] WeChat share an error prompt, please check whether the WeChat installation, please. [https://developer.umeng.com/docs/66632/detail/67042?um_channel=sdk] UMengShare < 6.9.8 > (Info) : [UMSocialWechatHandler: 1119] [SWI10009] WeChat share an error 'because invalid_app unable to share to WeChat. [https://developer.umeng.com/docs/66632/detail/67044?um_channel=sdk]Copy the code
  • Ii. Troubleshooting Steps:

(1) Mobile terminal investigation

1. If it is pure wechat SDK, you can check the basic configuration as I wrote this article beforeBasic configuration of wechat sharing, can basically solve common problems.

2. If you encounter the problems I mentioned above with the UMeng SDK, you can go here first to see if it is the same as this article.Umeng SDK wechat can not share the investigation

3. Check whether the UMeng SDK version and wechat SDK version are supportedUniversal Links. I’m using the Umeng SDK version here6.9.8, the wechat SDK version is1.8.7.1Both versions are supportedUniversal Links.

In fact, up to here basically the mobile terminal needs to configure the investigation has been completed


1. Check whether the address of the apple-app-site-AssociationJSON file is correct on the server. The following is an official Apple document translated into Chinese. Note that the server must be in the root directory or a. Well-known subdirectory. [apple store] (developer.apple.com/documentati…).

After the apple-app-site-association file is created, upload it to the root directory or. Well-known subdirectory of the HTTPS Web server. The file needs to be accessible over HTTPS – without any redirection – https:// < domain > / apple – app – site – association or https:// < domain > /. Well – known/apple – app – site – association. Next, you need to deal with generic links in your application.

2. For the problem that apple-app-site-Association files are stored in the server, you may have detected the problem according to the official wechat documents like me, but the situation below did Not appear, but 404 Not Found. Wait and see what the next step is. Official wechat document

3. Put the apple-app-site-association file address stored on the server in the browser address of the computer and click it. If the address is correct, the file will be directly downloaded. Do check the server root directory and the. Well-known subdirectory, because it is possible that a background colleague will misplace it. Here’s an example:

  • The server root directory is as follows:

(Domain name + apple-app-site-Association)

www.baidu.com/apple-app-s…

  • The server root is well-known as follows:

(Domain name +.well-known + apple-app-site-Association)

www.baidu.com/.well-known…

  • Summary of the situation I encountered:

The configured apple-app-site-association file exists in the server root directory and the. Well-known subdirectory. In addition, the apple-app-site-association file of the company’s previous product configuration is stored in the sub-directory of the well-known server, so the wildcard link is effective. However, the project I encountered problems this time was the configuration of apple-app-site-association file which was placed in the root directory of the server, so it has been invalid address.

  • Definitely method:

Remove the apple-app-site-associationJSON file in the server root directory and place the updated apple-app-site-associationJSON file in the. Well-known server subdirectory.