-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading react native version to 0.74.1, Throwing "TypeError: Cannot read property 'getString' of null" #230
Comments
same issue |
Complete Solution ******* first install these libraray ******* make a component ( must) interface OTPInputComponentProps { const OTPInputComponent: React.FC = ({ pinCount, code, onCodeChanged }) => { const styles = StyleSheet.create({ export default OTPInputComponent; const OTPScreen: React.FC = () => { const handleCodeChanged = (newCode: string) => { return ( export default OTPScreen; |
@nitinelegant , if you are using expo: |
I'm running on I hope this wll help |
Describe the bug
I have upgraded react native from version 0.72.12 to 0.74.1 after that it is throwing the below error
runtime error
TypeError: Cannot read property 'getString' of null
version installed @twotalltotems/react-native-otp-input": "^1.3.11"
To Reproduce
Steps to reproduce the behavior:
import OTPInputView from '@twotalltotems/react-native-otp-input';
will throw the same error
The text was updated successfully, but these errors were encountered: