0

I have a responsive website with an app (just android webviews) and apart from Google play store I want to put a download button for my app on the website. The problem is this button will show in a regular browser and still show within the app which has already been downloaded. Is there a way for me to detect that the website is loaded from my app (android webview) in order not to show the download button again? Thanks in advance.

shengy
  • 8,380
  • 3
  • 33
  • 61
Fenn-CS
  • 613
  • 10
  • 25
  • @f-e-noel-nfebe, Is any solution you found for this problem. If yes can share a sample code in this page. I am also looking for same solution – Krishna Mani Jul 31 '20 at 13:27
  • @KrishnaMani please check this out : https://stackoverflow.com/questions/6783185/detect-inside-android-browser-or-webview – Fenn-CS Aug 05 '20 at 13:24

1 Answers1

0

You can do it by css and media queries or JQuery/Javascript.
Check out this thread here: https://stackoverflow.com/a/10364620/3330058 has everything you need to know. You need to change your website's code not the android application.

Community
  • 1
  • 1
Giorgos Neokleous
  • 1,557
  • 1
  • 11
  • 22