FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
02-10-2023 03:57 PM
Hello @webiq-eg
The browsers on the different devices (PC, tablet, smartphone) reacts different. One problem for a machine HMI is the behaviour of the full screen mode (kiosk mode).
Sometime the browser have no full screen mode, sometimes the browser navigation bar is shown, when you swipe down.
For an machine HMI this is not usable.
Please provide the description how to create an app from a WebIQ project, to avoid this problem.
Solved! Go to Solution.
02-10-2023 04:32 PM
Does this solve the issue for Android devices already? The feature has been available for more than 5 years:
https://techwithtech.com/full-screen-chrome-android/
Please note that this is not specific to WebIQ as for the browser WebIQ is no different than any other website.
02-14-2023 08:49 AM
The best way i've found is to create a electron application to run in the panel:
https://www.electronjs.org/docs/latest/tutorial/tutorial-first-app
And there is a complete example here :
02-14-2023 08:59 AM
The only thing you can do is build web apps anyway as for native apps you'd have to reimplement the complete WebIQ Visuals framework including all widgets in native non-web technologies.
Electron is also not an option for iOS devices like iPhones and iPads:
"On iOS, Apple doesn’t allow any apps to run their own web rendering engine. That is, apps can only use WebKit, which is what powers Safari. Even actual web browsers on iOS—Chrome, Firefox, Brave—all use WebKit instead of their own tech. That means you can’t run the Chromium back-end required by Electron apps, which, in turn, forces the developers to develop proper apps."https://www.lifewire.com/why-electron-apps-can-be-less-than-ideal-5197984
So that means that you cannot create WebIQ web apps with Electron for iOS devices. This is not a limitation of WebIQ, but of Apple not allowing such apps on their app stores and as you can only install iOS apps through the apple store - unlike with Android where you could simply copy the APK file to the device - there's no way around this with Apple devices, obviously.
02-14-2023 09:02 AM
@webiq-eg told me to place this request, because he wants to provide the information to the forum.