Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implement Rate Us and More Apps link for Huawei App Gallery

How can i implement Rate Us and More Apps in Unity for Huawei app gallery? I use this way for Google Play Store but i'm unable to find for Huawei.

Rate Us: Application.OpenURL ("market://details?id=package of game");

More Apps : Application.OpenURL ("market://search?q=pub:Turbo Game Studios");

Please help.

like image 969
Zaki Ali Avatar asked Mar 03 '20 11:03

Zaki Ali


2 Answers

Huawei App Gallery uses its own scheme appmarket://

  • Scheme: appmarket://
  • Package: com.huawei.appmarket

vs. Google Play Store:

  • Scheme: market://
  • Package: com.android.vending

The functionality differs at this time of writing, HAG only supports basic app opening so you can only send an intent Uri like the following:

"appmarket://details?id=package.of.game"

Huawei will probably-eventually catch up with more functionalities like Google through intents as to allow other types of requests from external apps.

But as for now, only open your app package, that is it.

If you have the app gallery installed, and can manage to see all the apps from the developer, you can try and share it to find the link, and open that link in the users' browser, for instance (This is just an App link):

https://appgallery.cloud.huawei.com/marketshare/app/C100864605

Update


You can now open your app in Huawei App Gallery the same way as for Google, you will then choose between the two stores if you have both installed:

Works for all stores:

market://details?id=com.mypackage.name

Works for app gallery only:

appmarket://details?id=com.mypackage.name

market://com.huawei.appmarket.applink?appId=C100864605
like image 128
Pierre Avatar answered Oct 24 '22 07:10

Pierre


App rating on HUAWEI AppGallery can be implemented by redirecting to the app details page, on which the app rating function is provided.

like image 1
zhangxaochen Avatar answered Oct 24 '22 08:10

zhangxaochen