Code Monkey home page Code Monkey logo

Comments (11)

thambt avatar thambt commented on July 17, 2024 3

@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.

luskin avatar luskin commented on July 17, 2024 3

@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.

warlock27 avatar warlock27 commented on July 17, 2024 2

@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.

ivanzotov avatar ivanzotov commented on July 17, 2024

@luskin it seems like you didn't rebuild the project for android, try to rebuild

from react-native-text-input-mask.

luskin avatar luskin commented on July 17, 2024

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.

rscottcarson avatar rscottcarson commented on July 17, 2024

I am seeing the same on iOS simulator

from react-native-text-input-mask.

ivanzotov avatar ivanzotov commented on July 17, 2024

@luskin I will try to reproduce and fix, thanks for the issue

from react-native-text-input-mask.

adirzoari avatar adirzoari commented on July 17, 2024

@luskin how did you fix it?

from react-native-text-input-mask.

ivanzotov avatar ivanzotov commented on July 17, 2024

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.

luskin avatar luskin commented on July 17, 2024

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.

potasium avatar potasium commented on July 17, 2024

the same problem. rn 0.54

from react-native-text-input-mask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.