Comments (11)
@luskin @rscottcarson I find solution in this post https://blog.cloudboost.io/text-input-mask-for-react-native-3c04e82843a6.
from react-native-text-input-mask.
@warlock27 I just switched back to this package to try your solution and sure enough that worked. @ivanzotov you probably want to put this in the readme under installation as it seems several people are having this issue, sometimes linking doesn't work and it's always good to reiterate the manual installation process for both iOS and Android. Thanks @warlock27 for solving this issue.
from react-native-text-input-mask.
@luskin Hi I solved that issue by adding adding the following to my .addPackages
import com.RNTextInputMask.RNTextInputMaskPackage;
...
...
mReactInstanceManager = ReactInstanceManager.builder()
.addPackages(getPackages())
...
private List getPackages() {
return Arrays.asList(
...
new RNTextInputMaskPackage(),
....
);
}
I hope this helps
from react-native-text-input-mask.
@luskin it seems like you didn't rebuild the project for android, try to rebuild
from react-native-text-input-mask.
Quite the contrary @ivanzotov. I have cleaned, rebuilt, reinstalled, ran my cleaning command:
rm -rf node_modules && yarn install && watchman watch-del-all && rm -rf $TMPDIR/react* && npm start --reset-cache
Nothing seems to get rid of this error... Maybe it's something in React 0.50?
from react-native-text-input-mask.
I am seeing the same on iOS simulator
from react-native-text-input-mask.
@luskin I will try to reproduce and fix, thanks for the issue
from react-native-text-input-mask.
@luskin how did you fix it?
from react-native-text-input-mask.
I'm closing the issue, @luskin let me know if it still doesn't work with the new versions
from react-native-text-input-mask.
I ended up building my own solution since I couldn't get it to run, thanks for looking into it though. I may try and work it back in later.
from react-native-text-input-mask.
the same problem. rn 0.54
from react-native-text-input-mask.
Related Issues (20)
- cursor behavior HOT 1
- Spaces in mask is causing the numbers to render twice HOT 1
- Build failure with Expo SDK 46/RN 0.69.5 on Android: "Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2." HOT 4
- NativeModule: RNTextInputMask is null HOT 15
- Is this library still maintaining ? HOT 1
- Mask completeness feature
- Incompitable Kotlin version HOT 1
- android build failed HOT 9
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. HOT 7
- Error: NativeModule: RNTextInputMask is null. HOT 2
- React Native 0.68.2: contextMenuHidden does not hide menu on Android on double tap - Disable Options(cut/copy/paste) on React-Native Text Input
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
- Error build android HOT 1
- Remove all dependencies for JCenter as it is being discontinued HOT 1
- Why upgrading to 0.71 makes masking smooth? HOT 2
- Bug - TextInputMask is not a controlled component HOT 1
- minimun ios version should not be 13
- Why is not there a normal documentation?
- When using with RN 0.70.6 application go crazy HOT 2
- Required a higher minimum deployment target HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-text-input-mask.