How Lucky Patcher works on some flutter apps.
AbhiTheModderSome of you have either in the past or present surely have thought about how lucky patcher is able to manipulate aps written in dart (i.e., basically a form of C like programming language) which packages the Dart code inside lib during generating output for android releases...
The Answer:
Answer to this question is pretty simple if you look into the FlutterInappPurchase. packages of flutter.
Pros:
It has features of providing billing Api to flutter apps and without google play Api binding i.e., you don't need to use traditional way of adding play billing-api, services-api inside your build.gradle anymore...Instead of that just use this flutter package and you're good to go.
Cons:
The feature of this package that allows you to implement purchases through any store app you want to inside your build.
If you read the highlighted line in the above picture, you'll understand that this package gives you ability to pass purchases to any store app in your device, that means the developer can add feature for stores like Mi store,palm store,Vivo store apps comes with devices.
Example dump.dart from such an app:
This is where we get answer to our main question "How LP works on these apps?":
As we get to know this package applied feature through which user can get purchasing from any store app present in your device.... and we also know what LP does is doing same applying it's patches inside app and showing it that it is systems store app and LP bypasses it as this package also in the same way stores the data received from store app and saves your purchases... LoL 🤣
The above image clarify that it validates your purchase through store app and then saves and you're done 😂