r/FlutterDev • u/markatlarge • Oct 08 '26
Discussion Title: Found a public patch that cracks my Flutter app's subscription. How do other indie devs handle this?
I'm a solo dev with a small Flutter app (on-device AI, RevenueCat subscriptions + AdMob).
Last week Crashlytics showed a crash from a modified copy. I'd started logging the app's
installer as a custom key, and it showed MT Manager. Digging further, I found a public
ReVanced/Morphe-style patch set that unlocks premium (it rewrites RevenueCat's entitlement
checks), removes ads, and bypasses Play's license check.
A few things I learned:
- Logging the installer package as a Crashlytics custom key is a cheap way to spot modified copies.
- An older RevenueCat Android SDK shipped a -dontoptimize consumer rule, which turned R8
optimization off app-wide. Once I updated, R8's inlining/renaming seems to have broken
the patch, at least for now.
- I've filed a DMCA notice with GitHub.
Questions for people who've been through this:
- Is server-side entitlement checking (Play Integrity + RevenueCat REST) worth it at small scale?
- Did DMCA takedowns for patch repos actually work for you?
- Anything you wish you'd done earlier?
46
u/krll-kov Oct 08 '26
Just forget about it, nobody from those who does not pay is going to purchase your app if you try to eliminate this, and you'll spend days on some useless protection that will be cracked in 30 minutes again. You could have spent that time on implementing something for your customers, not on something that you won't t have an income for
10
u/huupoke12 Oct 09 '26 edited Oct 09 '26
Basically, for anything that involves server-side, you must always do and verify it on the server. Not verifying it is already a security issue. Never trust client inputs.
But for anything that's client side only, realistically, you can't prevent it completely. Even the most advanced anti-tampering software like Denuvo got cracked.
3
u/slightly_drifting Oct 09 '26
RASP + obfuscation + encryption + ssl pinning + server side validation.
In my experience, most security vendors charge you based on registered users. DMCA’s takedowns are just fighting the hydra. Take one down and two more pop up.
You already fucked yourself by putting clear code out in the wild. Now you need to refactor, recycle any certs and api keys, and then apply REAL protections, not just R8.
If I have your clear source code and an obfuscated copy, I can reverse the obfuscation on known parts, which is why you refactor.
2
u/Curious-Leader-9111 Oct 08 '26
Never been through this but thanks for making me aware of this possibility. I'm now going to waste my weekend going over my code.
1
u/Reasonable-Job2425 Oct 08 '26
if premium is for functionality tha talready eists in ap and doesnt call any backend i afraid there is not much you can do regarding it , in backend requests you ask ask to send user id/rc id and check for entitement but local checks can be easily bypassed ,can just spin up glm 5.3 or deeseekv4 or other chiense ai models and write patches if i want to on my own apps or others.
1
u/Apprehensive-Fan8999 Oct 10 '26
Years ago, long before AI, I self published a series of paid Android apps. I was alerted to a few of them being on pirate sites by a lawyer fishing for clients to sue people for copyright infringement. I declined that route. I figured those people were free advertising, they were never going to pay for my app anyway, but there's a decent chance someone they showed wouldn't want to go through the hassle of the pirate version to save $1-5 total (one time charge) and I'd get a sale that way instead.
Basically, be sure any time you spend fighting these folks wouldn't be better used improving the app and gaining honest customers.
1
u/kosiarska Oct 12 '26
Big apps? Custom protection but it's very costly. Dexguard, Verimatrix and others.
For small apps you need to be creative but proguard is your best friend.
-6
u/the-walls_4_suckers Oct 08 '26
What do you do? Make your app actually worth paying for.