Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70950

Detecting device platform on mobile if app is running in browser

$
0
0

@sujit77 wrote:

Requirement - To detect mobile device if app is running as website in a web-browser of mobile device.

Using Device, I can detect whether app is running in browser or in a native app form.

But, is there a way to detect mobile device platform even if the app is running in a web-browser? I just need to know if it is a mobile device true or false.

I am using npm run build --prod command to generate required files for web hosting.
I have tried ionic cordova build/run browser. But I couldn’t make it work.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>