meet.jit.si does not work in Edge on Android
See original GitHub issueDescription
meet.jit.si does not work in Edge (45.02.4.4931) on Android (9; Mi A2 Lite Build/PKQ1.180917.001)
Current behavior
Only a grey screen is shown when opening meet.jit.si. I inspected this tab with Edge’s remote device inspector and I see two errors:
//BrowserDetection.js:46
Uncaught TypeError: Cannot read property '1' of null
//_.web.js:5
Uncaught ReferenceError: JitsiMeetJS is not defined
The value of navigator.userAgent
is Mozilla/5.0 (Linux; Android 9; Mi A2 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.02.4.4931
Expected Behavior
It should open the meet.jit.si web app, so we can start a call.
Possible Solution
The first error is caused by the regex (.match(/Edg\/([\d.]+)/)
). On android it is not “Edg” but “EdgA” followed by “/123.”.
Changing line 46 to the following should work:
const version = userAgent.match(/Edg(A?)\/([\d.]+)/)[2];
But still, this would not be very clean. So I suggest the following change for line 46 to 50:
let versionMatch = userAgent.match(/Edg(A?)\/(?<version>[\d.]+)/);
if(versionMatch && typeof versionMatch.groups.version != 'undefined') {
if (Number.parseInt(versionMatch.groups.version, 10) > 72) {
browserInfo.name = CHROME;
browserInfo.version = versionMatch.groups.version;
}
}
Maybe the other error will be solved when this one is solved.
Steps to reproduce
Open meet.jit.si on the Edge Android app
Environment details
Android version: Android 9; Mi A2 Lite Build/PKQ1.180917.001
Edge version: 45.02.4.4931
UserAgent: Mozilla/5.0 (Linux; Android 9; Mi A2 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.02.4.4931
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
I can verify that meet.jit.si now works with Edge @ Android here at my device - thanks! 😃
Maybe Windows Update haven’t distributed the new chromium Edge to you yet? You may install it manually here: https://www.microsoft.com/en-us/edge
meet.jit.si works fine on Edge @ Win10, and have done so for long, I have used it on several PC’s and Windows tablets. Currently I am using “Version 81.0.416.53 (Official build) (64-bit)”.
However, Edge @ Android still just shows a gray, empty window (Edge 45.02.4.4931)