A CLI that helps integrating the Embrace SDK into a Flutter project.

Features

Makes modifications to the Android and iOS projects inside a Flutter application so that native layer uses the Embrace SDK.

Install

dart pub global activate embrace_cli

Usage

From the root of your Flutter project, run

embrace_cli installAndroid {YOUR_APP_ID} {YOUR_API_TOKEN}

to make the necessary changes to the Android code of your Flutter application.

You can use a similar command to perform changes to the iOS project:

embrace_cli installIos {YOUR_APP_ID} {YOUR_API_TOKEN}

The onboarding process in the Embrace dashboard will provide you with your app Id and your API token.

You can also verify the changes made to your project with the verifyIos and verifyAndroid parameters:

embrace_cli verifyAndroid
embrace_cli verifyIos

Libraries