How do I open the Huawei AppGallery that points to a specific app directly? I know that is possibile to do it natively in Android, but I need to do it with plain Javascript for a Cordova application
You can refer to the following:
The typical link format of the application details page on Huawei AppGallery is: https://appgallery.cloud.huawei.com/appDetail?pkgName=**packagename**&channelId=**channelid**&referrer=**referrer**&detailType=0&calltype=AGDLINK
Parameter description:
Packagename : required, the package name to be popularized and applied, such as com.huawei.gamebox..
Channelid : It is recommended to fill in. To improve the channel identification degree of data analysis, it is recommended to fill in the designated identification number for each channel. If it is not filled in, the system will automatically read the package name of the source media, but the package name cannot be obtained by jumping through the webpage or offline QR code.
Referrer : not required; if not, it will be blank by default. This parameter refers to the secondary channel number. When links are posted on multiple pages (scenes) of the same media, the specific location effect of the media can be identified by the secondary channel number.
DetailType=0&calltype=AGDLINK: basic parameter, which cannot be deleted.
I think the shortest and easiest one would be running this simple link: https://appgallery.cloud.huawei.com/ag/n/app/ <YOUR_APP_ID>
No need Packagename
, Channelid
and stuffs like that and no need to config anything and the rest will handled by Huawei automatically.
How to get YOUR_APP_ID?
C5683
Hope this helps! Enjoy~
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.