Intl polyfill not provided for SamsungBrowser/2.1
See original GitHub issueI’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:
- Created 8 years ago
- Reactions:3
- Comments:28 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.@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:
WDYT?