This project demonstrates the basic usage of the axeptio_sdk plugin.
First, be sure you have Flutter installed. If not follow these instructions.
Then, install dependencies by running :
flutter pub get
TCF version with custom values
flutter build apk \
--dart-define=FLAVOR=tcf \
--dart-define=PROJECT_ID=your-tcf-project-id \
--dart-define=VERSION="google cmp partner program sandbox-en-EU"Non-TCF version with custom values
flutter build apk \
--dart-define=FLAVOR=brand \
--dart-define=PROJECT_ID=your-non-tcf-project-id \
--dart-define=VERSION="your-non-tcf-version"Or just use flavor with defaults
flutter build apk --dart-define=FLAVOR=publishers flutter build apk --dart-define=FLAVOR=brands
- List devices:
flutter devices - List emulators:
flutter emulators - List Android:
emulator -list-avds - Launch an iOS Simulator:
open -a Simulatororflutter emulators --launch ios - Launch an Android Simulator:
flutter emulators --launch Pixel_9orflutter emulators --launch android
For development
flutter run --dart-define=FLAVOR=publishers flutter run --dart-define=FLAVOR=brands
Finally, run the projet by running, default flavor is brands
flutter run -d "iPhone 16"flutter install --uninstall-only
If you have any trouble or want more information, check the online documentation