Jump to content

Identifying a specific session web view in an app


Saurabh Jain

Recommended Posts

 

Three cases 

1 - Opening a website in desktop browsers - Google chrome -  IE, MIcrosoft edge

2 Opening a web page on mobile browsers

3  Web view in android ios app 

I want to show code (Adsense code) on first two but not in third case ( web view in an app )

One can differentiate between 1    or 2 and 3   but how to identify third case 

 

We can have a code

 

  • If case = 3   then do not show code      else show code 
  • If not case 3  showcase the adsense code 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...