adobe_analytics 0.0.5 copy "adobe_analytics: ^0.0.5" to clipboard
adobe_analytics: ^0.0.5 copied to clipboard

discontinued

This plugin bridges the Adobe Experience Platform Mobile SDKs to Flutter.

Adobe Analytics #

Bridges Flutter to Adobe's Analytics SDK.

Installation #

dependencies:
  adobe_analytics: ^0.0.1
flutter pub get
import 'package:adobe_analytics/adobe_analytics.dart';

Getting Started #

Adobe SDKs setup reference : https://aep-sdks.gitbook.io/docs/getting-started/initialize-the-sdk

Android #

Add the following code to your Application's override fun onCreate() :

// 1. Set ACPCore's log level
MobileCore.setLogLevel(LoggingMode.VERBOSE) // Optional

// 2. Configure ACPCore with your Adobe Environment ID
MobileCore.setApplication(application)
MobileCore.configureWithAppID("<Your Adobe Environment ID>")

// 3. Register Analytics & Identity extensions 
try {
    Analytics.registerExtension()
    Identity.registerExtension()
} catch (e: Exception) {
    Log.e("Error", e.message)
}

// 4. Start ACPCore
MobileCore.start(null)

iOS #

Add the following code to your AppDelegate's application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) :

// 1. Set ACPCore's log level
ACPCore.setLogLevel(.verbose)   // Optional

// 2. Configure ACPCore with your Adobe Environment ID
ACPCore.configure(withAppId: "<Your Adobe Environment ID>")

// 3. Register ACPAnalytics & ACPIdentity extensions
ACPAnalytics.registerExtension()
ACPIdentity.registerExtension()

// 4. Start ACPCore
ACPCore.start(nil)
2
likes
30
pub points
0%
popularity

Publisher

verified publishervrt.be

This plugin bridges the Adobe Experience Platform Mobile SDKs to Flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on adobe_analytics