{"repo":"aptabase/aptabase_flutter","free":true,"listed":false,"github":"https://github.com/aptabase/aptabase_flutter","clone":"git clone https://github.com/aptabase/aptabase_flutter.git","description":"Flutter SDK for Aptabase: Open Source Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps","language":"Dart","stars":27,"topics":["analytics","dart","flutter","flutter-plugin","privacy"],"license":"MIT","category":"mobile-apps","readme_excerpt":"aptabase flutter Instrument your app with Aptabase, an Open Source, Privacy-First, and Simple Analytics for Mobile, Desktop, and Web Apps. Platform Support Android iOS MacOS Web Linux Windows :-----: :-: :---: :-: :---: :-----: ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ Install You can install the SDK by running the following command: Android Requirements If you're targeting Android, you'll need to add the following permissions to your AndroidManifest.xml : Usage First, you need to get your App Key from Aptabase, you can find it in the Instructions menu on the left side menu. On your main.dart , import package:aptabase flutter/aptabase flutter.dart and initialized the SDK. Note: You need to change your main function to be async and call WidgetsFlutterBinding.ensureInitialized(); before initializing the SDK. Afterward, you can start tracking events with Aptabase.instance anywhere in your Dart. Here's an example: A few important notes: 1. The SDK will automatically enhance the event with some useful information, like the OS, the app version, and other things. 2. You're in control of what gets sent to Aptabase. This SDK does not automatically track any events, you need to call trackEvent manually. - Because of this, it's generally recommended to at least track an event at startup 3. You do not need to await for the trackEvent function, it'll run in the background. 3. Only strings and numbers values are allowed on custom properties Preparing for Submission to Apple App Store When submitting your app to t","default_branch":null,"files":null,"tree":[],"storefront":"/r/aptabase","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aptabase/aptabase_flutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}