question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intl polyfill not provided for SamsungBrowser/2.1

See original GitHub issue

I’ve noticed that for both user agents below, we don’t supply the Intl polyfill, even tough it would be needed, as we see Intl is not defined errors from them.

Mozilla/5.0 (Linux; Android 5.0.2; SAMSUNG SM-G850F Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36

Mozilla/5.0 (Linux; Android 5.0; SAMSUNG SM-G900F Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:28 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
JakeChampioncommented, Mar 23, 2016

The useragent module can now detect Samsung, we need to update the module in our project and add Samsung into the config.json files for the polyfill/s in question.

2reactions
triblondoncommented, Jun 12, 2016

@AdaRoseEdwards Problem is Chrome has had Intl since 22 (http://caniuse.com/#search=intl), so maybe the SS fork removed support for Intl, somehow? Anyway basically the solution is simply to choose a sufficiently old version of Chrome.

@torgo do you think we could get some official determination on this from Samsung as a stopgap until we have proper support data? It’s very simple for us to say ‘treat version X of SB as an alias of version Y of Chrome’, and it adds no maintenance overhead, so if there’s a version combination of Chrome and SB where SB’s featureset is a superset of Chrome’s, we can use that for now and the only issue is that we will over-polyfill Samsung.

I really want to fix this as we have a fair number of people reporting it. I’ll put this out as a suggestion:

samsung internet/2.1.0 == chrome/21

WDYT?

Read more comments on GitHub >

github_iconTop Results From Across the Web

React-Native and Intl polyfill required on Android device
I get the following error: [React Intl] Error formatting number. ReferenceError: No locale data has been provided for this object yet. enter image...
Read more >
Runtime Requirements | Format.JS
If you cannot use the Intl variant of JSC (e.g on iOS), follow the instructions in polyfills to polyfill the following APIs (in...
Read more >
@formatjs/intl-relativetimeformat - npm
Polyfill. To use the polyfill, just import it to make sure that a fully functional Intl.RelativeTimeFormat is available in your environment:.
Read more >
Polyfill.io
It's a service which accepts a request for a set of browser features and returns only the polyfills that are needed by the...
Read more >
React Intl | Testing Library
Configuring React-Intl Polyfills / Locales​ ... Doing that you will give you full-icu support as shown in option 1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found