Page 1 of 1

how to check the program opened with mobile app or web

Posted: Thu Apr 11, 2019 3:49 am
by programerboy
Hi,

I want to check the program opened with mobile app or web in trigger, how can I do it?

Thanks

Re: how to check the program opened with mobile app or web

Posted: Mon Apr 15, 2019 9:43 pm
by amosbatto
In JavaScript you can do this:
Code: Select all
var env = PMDynaform.getEnvironment();
if (env == "android" || env == "iOS") {
   //using mobile app
}
else {
   //using Processmaker in web browser
}
See:
https://wiki.processmaker.com/3.2/JavaS ... ment.28.29

Re: how to check the program opened with mobile app or web

Posted: Fri Apr 09, 2021 9:51 am
by muneebqadar
In the inception or discovery phase, processes like technical documentation, system components architecture, and technical investigation/audit reports are prepared. I won’t be surprised if some of you may have heard these terms for the first time. All of this and more needs to be thoroughly assessed as a little lapse concentration can make the entire mobile application development process go wrong.
That’s why much emphasis must be given by app developers and the customers during this phase so that everything may run smoothly during the next steps.

Re: how to check the program opened with mobile app or web

Posted: Wed Aug 11, 2021 12:01 pm
by Jessicarobert
You can use app links for your domain on Android. Universal links, a similar technique, is available on iOS. Set these up in your mobile apps, and users will be redirected to these deep links to access content within your app. If the app is installed, it intercepts the redirect and allows the user to continue interacting with it. If not, a web page hosted on the link will be displayed.

Visit here: https://icreativesol.com/florida-logo-design/

Re: how to check the program opened with mobile app or web

Posted: Mon Apr 17, 2023 6:18 am
by John24
To check whether a program is opened with a mobile app or a web browser, you can look at the user agent string in the HTTP request headers. This string provides information about the device and browser used to access the program. As a mobile app development company, we recommend using user agent detection tools to determine the type of device and browser accessing your program. This information can help you optimize your program's user interface and functionality for the specific device and platform being used. By prioritizing mobile responsiveness, you can improve the overall user experience and increase engagement with your program.