flutter_assurance 1.0.1

Flutter Android iOS

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 #

pub package Build License

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 your ios 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

2
likes
80
pub points
33%
popularity

Publisher

adobe.com

Official Adobe Experience Platform support for Flutter apps. Assurance is a new, innovative product from Adobe to help you easily validate SDK implementations.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter, flutter_acpcore

More

Packages that depend on flutter_assurance