Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

adobe/flutter_assurance

flutter_assurance

Notice of deprecation

Since April 25, 2023, Apple has required apps submitted to the App Store to be built with Xcode 14.1 or later. The Experience Platform Mobile SDKs and extensions outlined below were built with prior versions of Xcode and are no longer compatible with iOS and iPadOS given Apple’s current App Store requirements. Consequently, on August 31, 2023, Adobe will be deprecating support for the following Experience Platform Mobile SDKs and wrapper extensions:

After August 31, 2023, applications already submitted to the App Store that contain these SDKs and wrapper extensions will continue to operate, however, Adobe will not be providing security updates or bug fixes, and these SDKs and wrapper extensions will be provided as-is exclusive of any warranty, due to the App Store policy outlined above.

We encourage all customers to migrate to the latest Adobe Experience Platform versions of the Mobile SDK to ensure continued compatibility and support. Documentation for the latest versions of the Adobe Experience Platform Mobile SDKs can be found here. The iOS migration guide can be found here.


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