TypeError: null is not an object (evaluating 'RNTextInputMask.mask') in v3.0.0
See original GitHub issueI have got this error after installing the package.
In package.json: "react-native-text-input-mask": "^3.0.0",
I thought it was fixed in the issue: https://github.com/react-native-text-input-mask/react-native-text-input-mask/issues/156 but the error still exists.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:14 (4 by maintainers)
Top Results From Across the Web
React-native, "Native module cannot be null" - Stack Overflow
1- In iOS message is 'Native module cannot be null'. 2- In Android message is 'null is not an object evaluating RNFSManager etc'....
Read more >react-native-document-picker not working. What's wrong - Reddit
[Unhandled promise rejection: TypeError: null is not an object (evaluating ... catch (err) { setSingleFile(null) if (DocumentPicker.
Read more >Link external lib to detach expo project in xcode 10 - LOCKED
Follow README : the error undefined is not an object (evaluating '_reactNative.NativeModules.RNTextInputMask.mask'). Linking as external lib ...
Read more >How To Fix TypeError null is not an object (evaluating ...
React Native Tutorial - This Video ShowsHow To Fix TypeError null is not an object ( evaluating 'dispatcher.useState) TypeError react native ...
Read more >React Native手册| 豪翔天下
react-native-text-input-mask. 比如电话号码输入的mask模式; 如果出现TypeError: null is not an object (evaluating 'RNTextInputMask')in v3.0.0, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OKAY IT WORKS NOW (without use_frameworks!)
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text', :modular_headers => true
Finally built successfully on iOS
if you use react native cli then 1.npm uninstall react-native-text-input-mask 2. use 0.3.2 version – npm install --save react-native-text-input-mask@0.3.2 or yarn add react-native-text-input-mask@0.3.2 3.npx react-native run-android it worked fine with me in android
this package won’t work for expo I tested it so many times so I used another package => npm i react-native-masked-text