简体   繁体   中英

Issue opening an app from browser on Android devices

I'm trying to let people open mobile apps from my website and I found url scheme of some app for it like fb:// , twitter:// , .vv

They're all work fine ( with window.location.replace() or document.location.href ...) on IOS devices only; when on Android devices, nothing happened. I knew that Android app has another way to do it, not those same url scheme like for IOS, so anyone who has achieved it on Android for any app please help me ! I couldn't find any official url of an Android app to be opened from web browser yet.

On Android you can do it by creating your own url scheme and using Deep Links .

This is the official documentation explaining how to create and use them: https://developer.android.com/training/app-links/deep-linking

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM