flutter_assurance 1.0.0 flutter_assurance: ^1.0.0 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 #
⚠️ This package is currently in beta, we are actively working to a release candidate. If you have any feedback please log an issue or submit a pull request.
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.
Installation #
Install instructions for this package can be found here.
Note: After you have installed the SDK, don't forget to run
pod install
in yourios
directory to link the libraries to your Xcode project.
Tests #
Run:
flutter test
Usage #
Assurance #
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.
iOS
Swift
import AEPAssurance
AEPAssurance.registerExtension()
Objective-C
#import "AEPAssurance.h"
[AEPAssurance registerExtension];
Android:
import com.adobe.marketing.mobile.Assurance;
Assurance.registerExtension();
Importing the SDK:
import 'package:flutter_assurance/flutter_assurance.dart';
Getting Assurance version:
String version = await FlutterAssurance.extensionVersion;
Starting a Assurance session:
FlutterAssurance.startSession(url);
Contributing #
See CONTRIBUTING
License #
See LICENSE