flutter_assurance: ^1.0.1 copied to clipboard
Official Adobe Experience Platform support for Flutter apps. Assurance is a new, innovative product from Adobe to help you easily validate SDK implementations.
flutter_assurance is a flutter plugin for the iOS and Android AEPAssurance SDK to allow for integration with Flutter applications. Functionality to enable the Assurance extension is provided entirely through Dart documented below.
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.
Registering the extension with ACPCore:
Note: It is required to initialize the SDK via native code inside your AppDelegate and MainApplication for iOS and Android respectively. For more information see how to initialize Core.
import AEPAssurance AEPAssurance.registerExtension()
#import "AEPAssurance.h" [AEPAssurance registerExtension];
import com.adobe.marketing.mobile.Assurance; Assurance.registerExtension();
Importing the SDK:
Getting Assurance version:
String version = await FlutterAssurance.extensionVersion;
Starting a Assurance session: