Scratchify is a lightweight and customizable scratch card SDK built using Jetpack Compose Multiplatform. It enables you to create interactive scratch surfaces where users can scratch off an overlay to reveal hidden content underneath. Ideal for rewards, discounts, surprise reveals, and gamification elements in your app!
Perfect for:
✅ Reward reveals
✅ Discount coupons
✅ Surprise elements
✅ Gamification features
✔️ Multiplatform support (Android & iOS)
✔️ Two-layer scratch surface (Overlay & Revealed Content)
✔️ Customizable brush size
✔️ Auto-reveal after X% scratched
✔️ Instant reveal & reset options
✔️ Scratch event callbacks (onScratchStarted
, onScratchProgress
, onScratchCompleted
)
Since Scratchify is a Compose Multiplatform (CMP) library, you should add it to your commonMain
source set to use it across both iOS and Android.
Add the dependency in your shared
module's build.gradle.kts
:
dependencies {
implementation("io.github.gsrathoreniks:scratchify:<latest_version>")
}
We welcome contributions from the community! 🚀
- Found a bug? Open an Issue
- Have a feature request? Suggest a Feature
We appreciate your help in improving Scratchify! 🎉
This project is licensed under the MIT License.
📄 Read the full license: MIT License