/@maskito/react-native is a lightweight library that brings Maskito to React Native applications.
Install the packages
npm install @maskito/{core,react-native}
and use Maskito
@maskito/react-native with built-in masks from @maskito/kit and @maskito/phone — they work out of the box. @maskito/react-native has a few known limitations that Maskito cannot work around: >=0.87.0 is required. 0.85.0 introduced selection data in the TextInput onChange event. This is a major milestone for Maskito: it unlocks (partial) support for React Native. Without it, caret management would be either too limited or achievable only at the cost of significantly worse code quality. Subsequent minor releases fixed issues related to this feature.