Custom Font not working on react native 0.65.1
Opened this issue · 5 comments
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
Memory: 1.92 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 25, 26, 27, 28, 29, 30, 31
Build Tools: 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: 23.0.7272597-beta3
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7678000
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
In react-native < 0.65, it works fine. But in version 0.65.1, it is still default font family
+1 i am on react-native 0.66.3 and it doesn't work
Nor on 0.67
any solution?
any solution?
I think you should create your custom components and use theme
You can try this method: https://github.com/XantreGodlike/react-fast-hoc/blob/main/examples/react-native-default-styles.md