I'm looking for a package to implement a scratch card in react-native. I have found this library https://github.com/thebylito/react-native-scratch-card but the problem is that it works only on android. Is there a library that works on both iOS and android, or can I implement this in pure javascript?
You can use a library I made: react-native-scratch
npm install react-native-scratch --save
This library supports both Android and iOS and enables you to use multiple scratch views in your app, for example - a FlatList with scratch cards.
Other functionality includes:
UPD 2022 Try this library https://www.npmjs.com/package/rn-scratch-card
It's implemented for Android and iOS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With