How do you add an offerwall to a Flutter app?
To add an offerwall to a Flutter app, install an offerwall plugin, have your own server create a short-lived session for the signed-in user, open the wall from Dart with that session, and credit the user on your server when the offerwall sends a postback. With Moonetix, the plugin is moonetix_offerwall 2.0.2 on pub.dev, the session comes from POST https://api.moonetix.com/v1/session , and the app calls Moonetix.open(token) . The app never holds a secret and never decides that a reward was earned.
This guide is the Flutter implementation. Where to place the wall and how to price your currency are covered in Monetize a mobile game with an offerwall and How to set your virtual currency exchange rate . Every code sample below matches the official Flutter SDK docs .
Who does what
A Flutter offerwall has three parts.…