Closed itsameandrea closed 3 years ago
@ilrock Kindly create the PR. I'll review, merge and publish a new version.
Thanks @mclintprojects!
Just created a PR - I haven't found any contribution guide so I hope the structure I used works for you.
If it doesn't let me know and I'll make the necessary changes.
@ilrock Thanks for the PR. I've merged and published v2.4.3
.
Describe the bug For some users the library errors out throwing
Object.entries is not a function
. At first I thought this was an issue with IE asObject.entries
does not work on IE, however, since plugging in AppSignal I've seen that the user agent is not matching IE.To Reproduce I wasn't able to reproduce the error on my own
Expected behaviour No errors being thrown
Screenshots
Plugin version (please complete the following information): 2.3.2
Additional context Sorry for the lack of information so far - though I can add some context. This application is mostly used inside the Facebook webview. My (very rough) guess is that some version of the Facebook browser don't support
Object.entries
either.Likely the error comes from this file here as
Object.entries
is used a couple of times.I'd imagine that the solution would be to have a simple polyfill like this.
Happy to create a PR to get it fixed if you're too busy to do it.