react-nativepolyfillsintlreact-native-hermes

Intl polyfills for React Native 0.63 and hermes


I ran into issues when I turned on hermes in my app. Specifically with Intl support, I'm getting this error in Android ReferenceError: Property 'Intl' doesn't exist, js engine: hermes.

I've read these posts already

But I can't get this to work. Have anyone applied these solutions succesfully or got this to work with another appoach?

React Native 0.63.3


Solution

  • For those who have the same problem. I've posted the same on reddit.

    I was finally able to get intl to work updating react native from 0.63.3 to 0.64.1 and installing the polyfills from @formatjs and import them in index.js in the order shown in the graph