ariaramin/iran-iap ? reverse-engineered prompt
Reverse engineered prompt
Build me a Flutter plugin for Android that lets one app talk to in app purchases on Cafe Bazaar and Myket with a single simple Dart API.
I want the store to be chosen at build time so only the right native billing code ends up in that APK or app bundle, and the other one is left out completely. Please include product lookup, buying subscriptions and one time items, handling cancelled purchases cleanly, basic error codes, and a way to check what the app can do at runtime. It should also include a small command line helper for checking the host setup, running or building for a chosen store, and verifying the final artifact.
Make sure the package works cleanly with Flutter on Android, has an example app, and feels straightforward to use from Dart. If you need to, look up the current docs for the store billing SDKs and Flutter Android setup.
Are you gonna build this?
make sure you review the code using coderabbit