seetherisingazeez/airpass ? reverse-engineered prompt
Reverse engineered prompt
Build me a Flutter package called Airpass that lets devices share messages without internet using nearby Bluetooth and Wi Fi Direct connections.
I want the app to work like a store and forward mesh, where messages are saved locally first, then briefly synced to nearby devices, and dropped as soon as the transfer is done. Please include a simple client API for subscribing to groups, sending messages, watching for discovered groups, and listening for incoming messages, plus a local database so the UI only reads and writes locally.
Also set up permissions and hardware checks for Bluetooth and Wi Fi, and add a background service that can run on Android and the best possible background behavior on iOS. It should support a service locator setup before the app starts, and be usable from a basic example Flutter app.
If you need current Flutter or platform docs, look them up online and follow the latest guidance.
Are you gonna build this?
make sure you review the code using coderabbit