web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
640 stars 164 forks source link

ReferenceError: Can't find variable: Intl #246

Closed tonvlad88 closed 1 year ago

tonvlad88 commented 1 year ago

Current behaviour

An error shows when displaying the time modal

Expected behaviour

It should show the modal time picker

How to reproduce?

click on the timer icon

Preview

Screenshot_1674313433

What have you tried so far?

Your Environment

software version
ios x
android Android API 34 x86_64
react-native "0.68.2"
react-native-paper ^5.1.3
node v18.12.1
npm or yarn yarn 1.22.19
expo sdk "^45.0.0"
github-actions[bot] commented 1 year ago

Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.

iM-GeeKy commented 1 year ago

See related https://github.com/web-ridge/react-native-paper-dates/issues/213, https://github.com/web-ridge/react-native-paper-dates/issues/184, https://github.com/web-ridge/react-native-paper-dates/issues/153.

There are other resolved threads pertaining to this issue here.

Also check out android caveats.

tonvlad88 commented 1 year ago

See related #213, #184, #153.

There are other resolved threads pertaining to this issue here.

Also check out android caveats.

adding this at app.json solved this bug. Thanks

...
"jsEngine": "hermes",
...