-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft Edge bug?, Television? #19
Comments
Hi!
First of all I wrote the library with Node in mind, so many Browsers will not work. You aren’t having any problem because you use all last or almost last versions.
No coming to the problem:
thanks for the detail report, can you add here a full stracktrace of the error please?
Thanks,
Simone
… Hi! I'm using the plugin in an Ionic project, everything seems to be working fine.
Works on Android, iOS, browsers like Chrome, Firefox, Safari.
All good, except Microsoft Edge 16.
It crashes when I instantiate the WhichBrowser object.
Debugging in Microsoft Edge debugger, Shows that it crashes in a line (if statement)
here's the file: Television.js
/* Generic model information */
static detectGenericTelevisionModels(ua) {
let match;
if ((match = /\(([^,(]+),\s*([^,(]+),\s*(?:[Ww]ired|[Ww]ireless)\)/u.exec(ua))) { // <----- IT CRASHES HERE
const vendorName = Manufacturers.identify(Constants.deviceType.TELEVISION, match[1]);
const modelName = match[2].trim();
There it is, the if statement.
Is this bug? What am I doing wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh I see, then I think I have to use the php backend, but my server doesn't support php neither node. It's firebase, I will find the solution to my problem thanks for the answer..... |
Hey, take a look at https://cloud.google.com/functions/ for running node functions and consume them from Firebase!
Let me know if you need further support for the issue.
…On 21 May 2018, 16:41 +0100, Pedro ***@***.***>, wrote:
Oh I see, then I think I have to use the php backend, but my server doesn't support php neither node.
It's firebase, I will find the solution to my problem thanks for the answer.....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks for the help! I'll take a look at it. |
mariotsi
pushed a commit
that referenced
this issue
Feb 6, 2019
…ged-8.1.3 Bump lint-staged from 8.1.1 to 8.1.3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I'm using the plugin in an Ionic project, everything seems to be working fine.
Works on Android, iOS, browsers like Chrome, Firefox, Safari.
All good, except Microsoft Edge 16.
It crashes when I instantiate the WhichBrowser object.
Debugging in Microsoft Edge debugger, Shows that it crashes in a line (if statement)
here's the internal file: Television.js
There it is, the if statement.
Is this bug? What am I doing wrong?
The text was updated successfully, but these errors were encountered: