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?