flutter_aepassurance

pub package Build License

flutter_aepassurance is a flutter plugin for the iOS and Android Adobe Experience Platform Assurance SDK to allow for integration with Flutter applications. Functionality to enable the Assurance extension is provided entirely through Dart documented below.

Installation

First, make sure that the flutter_aepcore plugin is installed, as flutter_aepassurance depends on it.

Install instructions for this package can be found here.

Note: After you have installed the SDK, don't forget to run pod install in your ios directory to link the libraries to your Xcode project.

Tests

Run:

flutter test

Usage

Assurance

For more detailed information on the Assurance APIs, visit the documentation here

Registering the extension with AEPCore:

Note: It is required to initialize the SDK via native code inside your AppDelegate and MainApplication for iOS and Android respectively.

As part of the initialization code, make sure that you set the SDK wrapper type to Flutter before you start the SDK.

Refer to the Initialization section of the root README for more information about initializing the SDK.

Importing the SDK:
import 'package:flutter_aepassurance/flutter_aepassurance.dart';
Getting Assurance version:
String version = await Assurance.extensionVersion;
Starting a Assurance session:
Assurance.startSession(url);

Contributing

See CONTRIBUTING

License

See LICENSE