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.
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 installin your
iosdirectory to link the libraries to your Xcode project.
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:
Getting Assurance version:
String version = await Assurance.extensionVersion;
Starting a Assurance session: