RN mask link https://github.com/text-mask/text-mask/blob/reactNativeMasks/reactnative/src/reactNativeTextMask.js
The reason why text-mask is better than others is it doesn'y rely on onKeyUp
or any key events.
This makes it much more reliable on mobile devices w/ Samsung generally screwing events up w/ custom browser crap they build on top of chrome.
It only deals with previous value, next value, and cursor position.
Those are all typically accessible in onChange
(sync) which allows us to make reliable updates for the value, as well as the new cursor position.
In RN they are 2 separate calls. So it makes it a little more difficult as rather than onChange
things need to be handled in onSelectionChange