Call the url scheme of every Android application market.

We currently want our Android users to download APP, through the download page we provide, but it"s best not to download it directly, but to determine which app market is available on the user"s phone, and then directly call url scheme to open the corresponding market for download.
currently tested the url scheme of other APP, no problem can be opened directly, but can not find those url scheme in the application market.
I would like to ask you if there is or is there any way to find out.

Mar.04,2021

{

xiaomi: {
    reg: /\(.*Android.*(MI|Mi|Redmi).*\)/,
    scheme: "mimarket://details?id=com.xx.xx"
},
samsung: {
    reg: /\(.*Android.*(SAMSUNG|SM-).*\)/,
    scheme: "samsungapps://ProductDetail/com.xx.xx"
},
huawei: {
    reg: /\(.*Android.*(HUAWEI|HONOR).*\)/i,
    scheme: "appmarket://details?id=com.xx.xx"
},
oppo: {
    reg: /\(.*Android.*OPPO.*\)/,
    scheme: "oppomarket://details?packagename=com.xx.xx",
    downloadFirst: !0
},
vivo: {
    reg: /\(.*Android.*(vivo|VIVO).*\)/,
    scheme: "vivomarket://details?id=com.xx.xx"
}

}


https://developer.android.com.


Hello, do you have a solution? I also want to achieve this function now


I have been thinking about this problem recently, and looking for the URL scheme I want.
my idea is to get
by decompiling APP,. Does the author know how to call the URL scheme of the local browser?


I also want to know the answer

Menu