Как обновить hms core huawei
Перейти к содержимому

Как обновить hms core huawei

  • автор:

Как вручную обновить HMS Core?

У меня есть приложение в AppGallery, доступное также для старых телефонов Huawei, таких как P8 или P9. Я заметил, что старые телефоны иногда вылетают из-за устаревшего HMS Core. Я читал, что HMS Core может обновляться автоматически, но я хочу сделать это сразу после запуска приложения.

Его можно вызвать, когда вы используете карту (у меня она есть на втором экране), но я хочу как можно скорее сообщить пользователю об устаревшем ядре HMS.

Есть ли образец, как вручную вызвать проверку версии HMS Core?

3 ответа

Да, это возможно. Вот предоставленное решение. Все основано на переменной baseVersion . Если его значение выше, чем код вашей версии HMS Core, вы получите указанное диалоговое окно.

Чтобы вручную обновить HMS Core (APK) на телефоне Huawei, вызовите приведенный ниже образец кода, чтобы проверить, не является ли номер версии более ранней, чем 5.0.0.300. Если это так, появится экран загрузки HMS Core в AppGallery.

Кроме того, не забудьте заменить channelId в URI. Определен channelId, необходимый для идентификации данных канала. channelId — это идентификатор канала уровня 1, то есть канала, с которого переходит пользователь.

How to manually update the HMS Core?

I have an application in AppGallery available also for the older Huawei phones such as P8 or P9. I noticed that the old phones sometimes catch crash because of outdated HMS Core. I read that HMS Core can update itself automatically but I want do it immediately after I run the app.

It is possible to call it when you use map (I have it on the second screen) but I want inform user about outdated HMS Core as soon as possible.

Is there any sample how to manually call HMS Core version check?

2 Answers 2

To manually upgrade HMS Core (APK) on a Huawei phone, call the sample code provided below to check whether the version number is earlier than 5.0.0.300. If so, the HMS Core download screen on AppGallery will appear.

Besides, remember to replace channelId in the URI. Defined channelId as needed to identify channel data. channelId is the ID of a level-1 channel, that is, the channel from which the user comes.

How to update HMS Core

To continuously improve your user experience and provide a wider range of service capabilities for devices and apps, new versions of HMS Core will be released as needed.

  • To update HMS Core, perform the following:

Method 1: Update manually in AppGallery

To do so, open AppGallery and search for «HMS Core».

If Update is displayed on the right of the app name, it means that you are not currently using the latest version of HMS Core. Touch Update to update it.

If Open is displayed on the right of the app name, it means that you are currently using the latest version of HMS Core.

For non-Huawei devices, view and update HMS Core in the pre-intalled app store of the device.

If HMS Core cannot be found in the pre-installed app store of your device, you can download and install HUAWEI AppGallery, and manually update HMS Core in HUAWEI AppGallery.

Method 2: Enable Auto-update over Wi-Fi

Take EMUI 11.0 as an example. Perform the following steps:

  1. Go to Settings > Apps > Apps > > Show system processes , search for «HMS Core», and access the App info screen.
  2. Go to />> Auto-update and enable Auto-update over Wi-Fi .

With Auto-update over Wi-Fi enabled, HMS Core will be automatically updated when your device is connected to Wi-Fi and the battery level is higher than 30%.

To disable automatic updates to HMS Core, perform the following steps (EMUI 11.0 is used as an example):

  1. Go to Settings > Apps > Apps > > Show system processes , search for «HMS Core», and access the App info screen.
  2. Go to />> Auto-update and disable Auto-update over Wi-Fi .
  • If you are not used to using the new version of HMS Core, perfrom the following to roll back HMS Core to its factory version (EMUI 11.0 is used as an example):

Go to Settings > Apps > Apps > HMS Core , then touch > Uninstall updates .

To ensure your user experience, it is recommended that you stay tuned for HMS Core updates and update to the latest available version at your earliest convenience.

Huawei HMS Core getting 6.11.0.301 June 2023 App version update

Huawei has started updating its applications to the latest versions. Now adding one more app to the list, the Chinese tech giant has started rolling out the new HMS Core app version 6.11.

The latest HMS Core (Huawei Mobile Services) application app getting June 2023 update with the app version 6.11.0.301 and it fixes some known bugs. HMS Core (HCore) provides basic services for your Huawei devices, such as HUAWEI ID and payments.

Simply log in to your HUAWEI ID to access AppGallery, Cloud, Health, and more. If you’re a developer, HMS Core helps you enhance your app’s user experience by providing features such as push notifications, quick logins, in-app payments, machine learning, as well as map and game services.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *