05/15/2024 15:19:45

Solution

The performances of QQ and WeChat as well as Android and iOS are inconsistent. This phenomenon is described as follows:

1.QQ

(1) iOS

What is read is the "DisplayName" field configured on the Xcode project.

(2) Android

What is read is the "label" field configured in AndroidManifest.xml. They are respectively shown in the following diagram.

Image Description

Image Description

2.WeChat:

For iOS and Android, what are read are the names on the registered platforms. They are respectively shown in the following diagram.

Image Description

Image Description

Note: If the "lable" field is not configured in QQ Android, what will be displayed here?

What are called here are Android's native methods. The situation can be divided into the following two types.

(1) For Android 7.0 and higher versions of systems, the source code shows that if "lable" cannot be read, the package name will be returned, as shown in the following diagram.

Image Description

(2) For Android 8.0 and higher versions of systems, the source code shows that if "lable" is not read, the name field will be returned first, and if the "name" field is not set, the package name will be returned, as shown in the following diagram.

Image Description



Copyright © 2024 MSDK.
All rights reserved.

results matching ""

    No results matching ""