Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is there any way to get the id of "Android WebView" app?

I use this php code to check if the user open my website from a Webview or from a browser and i want to get the id of "Android App WebView" apk which is on the playstore
but i don’t find it and i also want the id of "Google Chrome" apk.
Id example: "com.facebook.orca".

if($_SERVER['HTTP_X_REQUESTED_WITH'] == "com.facebook.orca")
echo 'var isWebView=true;';
else
echo 'var isWebView=false;';

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

note that a package name is in url of Google Play, an id param…

https://play.google.com/store/apps/details?id=com.android.chrome&hl=en

you can probably list all package names from device in some "advanced" settings or just find an app for that in Play Store

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading