How to know if an apex app was called from mobile or pc ?
❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
OrclQA.Com is a question and answer forum for programmers.
Here anyone can ask questions and anyone can answer to help others.
It hardly takes a minute to sign up and it is 100% FREE.
Vinish Kapoor
You can use the JavaScript navigator.userAgent web API to determine if the page is opened on a desktop or mobile.
Below is an example that will check for the occurrence of the pattern using the test() method:
To test, you can use this code in the function and global variable declare section of the page.
Jorge.criv
Thank you very much for your help