Flutter

Moderation for Flutter apps

A report button in the app, the decision in the dashboard, enforcement via webhook. The API key always stays in your backend and never ships in the app.

Architecture

The app talks to your backend

An API key never belongs in a mobile app, and a snapshot sent from the reporter’s device cannot be trusted. So your Flutter app calls your own backend, which forwards to Limenia.

The path of a report
Flutter app  ──▶  your backend  ──▶  Limenia     POST /v1/reports
Flutter app  ◀──  your backend  ◀──  Limenia     webhook decision.created
Your backend

What your backend takes care of

A small endpoint is enough, for example a Cloud Function or an Edge Function. The examples on GitHub show it for seven backends.

  • Set the reporter from the sign-in, never from the device.
  • Load the content snapshot from your own database.
  • Pass the Idempotency-Key, status and Retry-After through to the app unchanged.
  • Forward appeals (POST /v1/appeals) and reviews (POST /v1/reviews) the same way.
Flutter package

The limenia package with ready-made widgets

The limenia package is public on pub.dev. It validates reports, appeals and reviews, sends them through your backend with a queue and retries, and reads decisions with their statements of reasons. The API key stays in your backend.

  • Ready-made widgets from package:limenia/ui.dart: report sheet, complaint form, statement of reasons and a notice for restricted accounts.
  • Colors and fonts come from your theme, texts ship in German and English, and each one can be replaced.
  • Needs Flutter 3.35. Pure Dart programs without Flutter stay on version 0.11.
Terminal
flutter pub add limenia
Device check

Bans that survive a reinstall

The Flutter plugin limenia_device gets a token from Play Integrity on Android and from Apple DeviceCheck on iOS. Your backend forwards it to Limenia. Limenia marks devices of banned users and tells you when a new account uses a marked device.

  • Optional and only needed for the device connector: flutter pub add limenia_device.
  • Android with Google Play from minSdk 24, iOS from version 15.
  • A mark is a hint, never proof. Your app decides what follows.
pubspec.yaml
dependencies:
  limenia: ^0.12.0
  limenia_device: ^0.1.1  # optional

Frequently asked questions

Your question is not here? Write to us, a person will answer.

Go to the contact form

Can my Flutter app call Limenia directly?

No. The API key belongs in your backend. The app calls your backend, which sets the person from the sign-in and forwards the report to Limenia.

Are there ready-made widgets for the report button?

Yes. The limenia package ships a report sheet, a complaint form, a statement of reasons view and a notice for restricted accounts in package:limenia/ui.dart. They follow your theme. If you prefer to build your own, use only the package’s API.

Which backend do I need?

Any that speaks HTTPS. There are runnable examples for Firebase Cloud Functions, Supabase Edge Functions, Node.js, Python, Go, PHP and AWS Lambda.

How do I install the packages?

Run flutter pub add limenia, and flutter pub add limenia_device as well for the device connector. Both are on pub.dev (pub.dev/packages/limenia), the source is in the public repository DL3KB/limenia-flutter.

Ready for your notice and action process?

Start your trial in a few minutes. If you would rather talk first, we show you Limenia in a demo.

Or write to us using the contact form