lumin_flutter

Last updated:

0 purchases

lumin_flutter Image
lumin_flutter Images
Add to Cart

Description:

lumin flutter

Lumin is hassle-free, privacy-focused analytics made and hosted in the EU. Use this SDK in your Flutter app.
Features #

Automatic tracking of DAUs, WAUs, MAUs & YAUs
Stats on OS & country of origin
All without saving any personally identifiying information about your users

So full GDPR compliance out of the box


Custom KPIs

Getting started #
Add the Lumin SDK to your dependencies:
dart pub add lumin_flutter
copied to clipboard
Then, intialize Lumin in your main function:
void main() async {
WidgetsFlutterBinding.ensureInitialized();

await Lumin.init("<Your Lumin App Token>");

runApp(const MyApp());
}
copied to clipboard
Finally, wrap your app in the LuminLifecycleLogger widget:
class MyApp extends StatelessWidget {
const MyApp({super.key});

// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return LuminLifecycleLogger(
child: MaterialApp(
// ...
)
);
}
}
copied to clipboard
Usage #
If you want to send a custom event, use the instance attribute on Lumin:
Lumin.instance.trackCustomEvent("EVENT_NAME");
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.