- Open your Flutter project in a code editor.
- Add the SDK to
pubspec.yaml
:dependencies: pushengage_flutter_sdk: ^0.0.1
- Run:
flutter pub get
We have added a demo project for showcasing the various features available and ways to interact with the SDK. The project can be found inside the \example
folder.
Steps to run the sample project:
- Clone this repo.
- Open it in Visual Studio Code.
cd
to/example
->ios
and do apod install
(Only required if you want to run it on iOS)cd
to the root of the project- Run
flutter pub get
- Select a simulator for iOS or emulator for Android:
Command + Shift + P
->Flutter: Select Device
- Open the Run and Debug Panel from the left and click on Run and Debug. Based on the device selected, it will run the sample app on that device.