According to the API, navigator.platform is unreliable and not recommended for runtime detection. As our platforms are ARM based, we were using it to get the platform and grep for a literal arm. That fails for example when using chromium browser on the ConnectCore devices, as it is reporting 'Linux x86_64' even running on an arm64 device. Instead use the already implemented is_local_access function to detect whether the browser is running locally in the target. https://onedigi.atlassian.net/browse/DEL-9838 Signed-off-by: Javier Viguera <javier.viguera@digi.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| css | ||
| fonts | ||
| images | ||
| js | ||
| sounds | ||