Is supported hermes?
youwasborntodo opened this issue · 1 comments
youwasborntodo commented
Bug summary
when i use the basic example, i got an error:
TypeError: Cannot read property 'getLocales' of undefined
This error is located at:
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in mfa(RootComponent), js engine: hermes
Library version
3.0.0
Environment info
info Fetching system and libraries information...
System:
OS: macOS 12.5.1
CPU: (8) arm64 Apple M1
Memory: 111.00 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.19.1 - /usr/local/bin/node
Yarn: Not Found
npm: 8.19.3 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.1 - /Users/laodage/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 23, 26, 28, 30, 31, 33
Build Tools: 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-30 | Google Play ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16-beta - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.7 => 0.71.7
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to reproduce
- …
- …
Reproducible sample code
import {getCurrencies, getLocales} from 'react-native-localize';
console.log(getLocales());
console.log(getCurrencies());
zoontek commented
Yes, Hermes is supported