We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
AppGallery Connect GuidesAppGalleryKitFAQsUpdate FAQs

Update FAQs

How do I check whether the update API integrated in the current version is correct?

You are advised to complete the required testing by referring to App Testing.

What SDKs do I need to integrate so my non-game app can obtain the jos package for calling the automatic update API?

The init and checkAppUpdate APIs are included in both the joint operations app SDK and Game Service SDK. Choose the SDK based on your app category.

Does the init API need to be called before the checkAppUpdate API is called?

Calling the checkAppUpdate or init API and enabling Game Service are independent of each other. To ensure optimal user experience, you are advised to call the init API first to facilitate bulletin display and then call the checkAppUpdate API.

Can I control the forcible update function by setting the false or true value in the showUpdateDialog method?

No, you cannot. To implement forcible app update, you need to select the forcible update function when releasing the app and pass true in the showUpdateDialog method. In addition, only joint operations games support forcible update currently.

When the update check API is called, will the download and update be completed in the app or will the user be redirected to AppGallery for download?

The user will be redirected to AppGallery for download.

What will happen if the checkAppUpdate API and showUpdateDialog method are called on a device where AppGallery has not been installed?

The checkAppUpdate API checks whether a new version is available with the AppGallery server instead of with the local AppGallery app. Therefore, even if a user's device has not installed AppGallery, the update pop-up will be displayed if you call the showUpdateDialog method. After the user chooses to update the app, the user will be instructed to download AppGallery. The app details page of the app will be displayed only after the user successfully installs AppGallery.

Does the checkAppUpdate API support Visions?

Yes.

After I call the checkAppUpdate API, showUpdateDialog displays the update pop-up. Can I customize the UI of that pop-up?

No, you cannot.

My app/game was rejected because the checkAppUpdate API is not called. What can I do?

If your app/game is a joint operations one, solve the problem by referring to this post.

If your app/game is not involved in joint operations, check this post.

Search in Guides
Enter a keyword.