Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.56 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.56 KB

analytics_example

Demonstrates how to use the analytics plugin.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Running the application

  1. Make sure you have Flutter SDK installed.

  2. The example app showcases the Firebase integration, so you will need to get your own Firebase Project. Create an account and a new project here.

  3. Follow the instructions to add Firebase to your Flutter app.

    1. It will require you to install Firebase CLI.
    2. At the root of the example app, run the flutterfire configure --project={your-project-id} command.
    3. You can skip the step for "Initialize Firebase and add plugins"
  4. On your Segment Workspace create your own Flutter source

  5. Set your Segment WriteKey in config.dart

  6. Run flutter run on the example