Current location - Quotes Website - Personality signature - The application package name is inconsistent with the configuration.
The application package name is inconsistent with the configuration.
Background: Applications will access the functions shared on WeChat more or less. However, due to some reasons, the application information we configured ourselves is consistent with the information of the open platform, but we still give an error: "The package name is incorrect, please check whether the package name is consistent with the open platform". Then, it is verified by two experiments, and the relevant solutions are found.

Experiment 1:

WeChat shares the original signature application normally (making WeChat cache some data); Share it with a signed app and see if it is successful.

Result: An error was reported.

Wechat: The signature is incorrect. Please check whether the signature is consistent with that filled in by the open platform.

Analysis reason: the signature has been changed. When sharing, WeChat will detect whether the signature has changed, and if it has, the sharing will fail.

Experiment two steps:

According to experiment 1, update the signature of WeChat open platform and share it (here WeChat caches some information of the original app).

Results; Sharing failed (but after sharing for more than ten times, sharing succeeded); If the sharing fails, empty the WeChat cache, and the sharing will succeed immediately.

Cause analysis: If the sharing fails for many times (or WeChat will automatically detect the signature after each sharing), check whether the signature information of the open platform and the local cache is consistent, and update it if it is inconsistent. This in turn leads to the success of sharing. Clean up the local cache of WeChat to ensure consistent signatures, so as to share successfully.