adobe_mobile_sdk_flutter

adobe_plugin_flutter is a flutter plugin for use AdobeMobileSDK.

Adobe Mobile User Documentation

Adobe Mobile services provides a new UI that brings together mobile marketing capabilities for mobile applications from across the Adobe Experience Cloud. Initially, the Mobile service provides seamless integration of app analytics and targeting capabilities from the Adobe Analytics, Adobe Audience Manager, and Adobe Target solutions, and Experience Cloud ID service.

To learn more about the Mobile Services UI and read the user documentation, see Adobe Mobile Services.

Note: This plugin is still under development, and some APIs might not be available yet. Feedback and Pull Requests are most welcome!

Mobile support

  • Android
  • iOS

Getting Started

Usage

To use this plugin, add adobe_plugin_flutter as a dependency in your pubspec.yaml file.

Set the ADBMobile JSON Config Path

Tip:

  • On iOS, the ADBMobileConfig.json can be placed anywhere that it is accessible in your bundle. see Adobe Mobile iOS

  • On android, the ADBMobileConfig.json can be placed on assets folder. See Adobe Mobile SDK android

InitTrack

This function is use for set the ADBMobile configuration with files.

  • On iOS : add ADBConfigFile to appDelegate.m
    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"ADBMobileConfig" ofType:@"json"];
    [ADBMobile overrideConfigPath:filePath];
  • On Android : use initTrack function

initTrack(String fileName);

    try{
        await AdobeAnalyticsPlugin.initTrack("ADBMobileConfigCustom.json");
    } on Exception {
       print('Failed to init Adobe Tracking');
    }

TrackScreen

This function is use for track the screen with optional data.

trackState(String screenName, [Map<String, dynamic> additionalData]);

    String result = await AdobeAnalyticsPlugin.trackState(
        "SCREEN_NAME",
        null
    );

TrackAction

This function is use for track the action with optional data.

trackAction(String actionName, [Map<String, dynamic> additionalData]);

    String result = await AdobeAnalyticsPlugin.trackAction(
        "ACTION_NAME",
        <String, dynamic>{
            "action": "ACTION",
            "category": "TEST"
        }
    );

Getting Started

See the example directory for a complete sample app using adobe_plugin_flutter.

Plugins

PluginLinks
AdobeMobileSDK iOShttps://cocoapods.org/pods/AdobeMobileSDK
AdobeMobileSDK androidhttps://mvnrepository.com/artifact/com.adobe.mobile/adobeMobileLibrary/4.17.0

Libraries

adobe_mobile_sdk_flutter

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]