MAX - Flutter
Include the SDK
You can include the sdk either by:
-
Issuing command
flutter pub add nefta_sdk_flutter -
Or manually by adding
nefta_sdk_flutter: anydependency to your project's pubspec.yaml:dependencies: flutter: sdk: flutter applovin_max: any nefta_sdk_flutter: '>=4.3.1'
Initialize the SDK
Import the plugin into your Dart code with:
import 'package:nefta_sdk_flutter/nefta.dart';Include this line to initialize the sdk, as soon as possible in your appliction lifetime, for accurate session tracking:
Nefta.init("yourAppId");Logging
To put the adapter in test mode and enable logs:
Nefta.enableLogging(true);Updated 5 days ago