i have playstore url (market://details?id="app_package_name") want app deeplink google playstore if clicked. although problem is, in code sanity check see if clicked url valid urlutil.isvalidurl api. surprise returned false above deeplink marketplace url.
so question is, how should detect if passing in valid deeplink url since cannot use isvalidurl anymore? of course hacky way check '://' in string, that's ugly.
isvalidurl check kinds of urls (http file content). check source code.
you instead use uri.parse() , check "market" scheme.
Comments
Post a Comment