MATLAB Web Apps are not supported on this device (Phone)
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Good night everybody,
I am currently trying to develop a MATLAB Web App on MATLAB Web Server R2020b. This application works fine on Desktop, however if I try to access it on any phone an error "MATLAB Web Apps are not supported on this device" appears. I have accessed the link (https://es.mathworks.com/help/compiler/webapps/supported-browsers-and-platform-incompatibilities.html#:~:text=Web%20apps%20are%20compatible%20with,Chrome%E2%84%A2%20browser%20on%20Chromebooks.) of the error and there is nothing about incompatibility with phones. Are phones and maybe some other devices unhandled by Web Apps or this is some unrelated error which I can't manage to find? As an example, if I try to access with Chrome or Firefox on a Pixel 2 the error of the image appears, however if I turn on "View in desktop mode" it works correctly and I can see my app.
Thank you all,
Marcos
0 Commenti
Risposte (1)
Cris LaPierre
il 21 Mar 2021
MATLAB Online, Simulink Online, and Self-Paced Training are currently not supported on smartphones or tablets. Use MATLAB Mobile to access MATLAB on your iPhone, iPad, or Android device.
6 Commenti
Eric Delgado
il 29 Ago 2024
Modificato: Eric Delgado
il 29 Ago 2024
Hi @Cris LaPierre. Using the direct URL created by the WebServer with an unsecured connection (HTTP), I can access the webapps regardless of the device (Windows, Android, macOS, iPadOS) or the browser (Chrome, Edge, Safari).
When I configure the F5, publishing the URL in a secure environment (HTTPS), I can't access the webapps on the iPad (Safari and Chrome) and on the MacBook (Safari only), but I can on the others: Windows, Android, or macOS (Chrome only).
It seems that Chrome uses Safari's WebKit on the iPad, so I would say the problem lies with Safari when trying to access the WebServer over a secure connection (HTTPS).
Note that we are not using the method suggested by MathWorks, which involves configuring the SSL certificate directly on the WebServer, but rather configuring the F5 (company policy). However, Safari does not indicate any issue with the SSL certificate.
When trying to access the URL that routes through the F5, at the beginning of the session, the client's browser sends a simple request addressed to the URL https://servername/webpages/commands. The server responds with general settings.
It's something like this...
% REQUEST
{"command": "serverinfo","sessionId":"","appName":"","data":"","userId":""}
% ANSWER
{
"stringData": "{\"userId\":\"ec4f7305-00d6-4bf5-86a4-8dbdeb55e68a\",\"serverVer\":\"24.1\",\"serverArch\":\"win64\",\"instanceName\":\"\",\"webSockets\":\"1\",\"runtimes\":[{\"release\":\"R2024a\",\"runtimeVer\":\"24.1\"}],\"auth\":\"0\",\"launcherConnected\":\"1\",\"authServerStarted\":\"0\",\"prewarmingComplete\":\"1\",\"fileUploadSize\":\"100\",\"allowedEventOrigins\":[]}"
}
This happens very early in the process... Safari, when in a secure environment (HTTPS), is not receiving a response to this request, which then immediately displays an alert screen.
Cris LaPierre
il 29 Ago 2024
I would suggest contacting support. They will be in the best position to investigate this further.
Vedere anche
Categorie
Scopri di più su MATLAB Mobile in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!