rudderlabs / rudder-sdk-flutter

Flutter SDK for RudderStack - the Customer Data Platform for Developers. Now supports Android, iOS and Web tracking!
https://www.rudderstack.com
Other
8 stars 28 forks source link
analytics android flutter ios open-source rudder rudderstack web

What is Rudder?

Short answer: Rudder is an open-source Segment alternative written in Go, built for the enterprise.

Long answer: Rudder is a platform for collecting, storing and routing customer event data to dozens of tools. Rudder is open-source, can run in your cloud environment (AWS, GCP, Azure or even your data-centre) and provides a powerful transformation framework to process your event data on the fly.

Released under MIT License

This is the android package for Rudder Flutter SDK. Check Rudderstack Flutter SDK for details.

Local development setup

We use Melos monorepo tool. You can see all available commands/scripts in melos.yaml file

Add you .env file as per the .env.sample with secrets used in unit tests.

To setup locally:

dart pub global activate melos 2.9.0
melos run flutter:upgrade
melos run setup
melos run build:sdk:all

To allow firebase plugin to work in the example you will need to add the relevant files that contain secrets. Get firebase config files from a colleague or add your own at:

In order to run locally the Android example you will need to either create an emulator with name Pixel_6_Pro_API_33 or alter the name in the run:example:android command.

Optionally for auto formatting source code via relevant Melos command you will need to install: