Swiftpack.co - Package - adobe/aepsdk-edge-ios

Adobe Experience Platform Edge Mobile Extension

BETA

AEPEdge is currently in beta. Use of this code is by invitation only and not otherwise supported by Adobe. Please contact your Adobe Customer Success Manager to learn more.

By using the Beta, you hereby acknowledge that the Beta is provided "as is" without warranty of any kind. Adobe shall have no obligation to maintain, correct, update, change, modify or otherwise support the Beta. You are advised to use caution and not to rely in any way on the correct functioning or performance of such Beta and/or accompanying materials.

About this project

The AEP Edge Mobile extension allows you to send data to the Adobe Experience Platform (AEP) from a mobile application. This extension allows you to implement Adobe Experience Cloud capabilities in a more robust way, serve multiple Adobe solutions though one network call, and simultaneously forward this information to the Adobe Experience Platform.

The Adobe Experience Platform Edge Mobile Extension is an extension for the Adobe Experience Platform SDK.

To learn more about this extension, read Adobe Experience Platform Edge Mobile Extension.

Current version

The Adobe Experience Platform Edge Mobile extension for iOS is currently in Beta development.

Installation

Binaries

To generate an AEPEdge.xcframework, run the following command:

make archive

This will generate the xcframework under the build folder. Drag and drop all the .xcframeworks to your app target.

CocoaPods

# Podfile
use_frameworks!

target 'YOUR_TARGET_NAME' do
	pod 'AEPEdge', :git => 'git@github.com:adobe/aepsdk-edge-ios.git', :branch => 'main'
  	pod 'AEPCore', :git => 'git@github.com:adobe/aepsdk-core-ios.git', :branch => 'main'
  	pod 'AEPServices', :git => 'git@github.com:adobe/aepsdk-core-ios.git', :branch => 'main'
  	pod 'AEPRulesEngine', :git => 'git@github.com:adobe/aepsdk-rulesengine-ios.git', :branch => 'main'
end

Swift Package Manager

To add the AEPEdge Package to your application, from the Xcode menu select:

File > Swift Packages > Add Package Dependency...

Enter the URL for the AEPEdge package repository: https://github.com/adobe/aepsdk-edge-ios.git.

When prompted, make sure you change the branch to main. (Once the repo is public, we will reference specific tags/versions instead of a branch)

Alternatively, if your project has a Package.swift file, you can add AEPEdge directly to your dependencies:

dependencies: [
	.package(url: "https://github.com/adobe/aepsdk-edge-ios.git", .branch: "dev"),
targets: [
   	.target(name: "YourTarget",
    				dependencies: ["AEPEdge"],
          	path: "your/path"),
    ]
]

Development

The first time you clone or download the project, you should run the following from the root directory to setup the environment:

make pod-install

Subsequently, you can make sure your environment is updated by running the following:

make pod-update

Open the Xcode workspace

Open the workspace in Xcode by running the following command from the root directory of the repository:

make open

Command line integration

You can run all the test suites from command line:

make test

Setup Demo Application

The AEP Commerce Demo application is a sample app which demonstrates how to send commerce data to Adobe Experience Platform by using the Adobe Experience Platform Mobile Extension.

If this is the first time you use this application, start by creating the XDM Schema and Dataset required for it, as well as creating your Edge Configuration identifier. Here are the steps to Generate Environment Identifier.

Setup the environment by running the following from the root directory of the repository:

make pod-install

Subsequently, you can make sure your environment is updated by running the following:

make pod-update

Open the AEPCommerceDemoApp workspace in Xcode by running the following command from the root directory of the repository:

make open-app

Configure the Launch Mobile Property and set up the Environment File ID in the app. Follow these steps to Configure the demo app.

You are now all set to start testing with this app.

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Github

link
Stars: 3

Dependencies

Used By

Total: 0

Releases

1.0.0-beta-1 - 2020-10-17 00:53:23

Summary:

  • Integration with aepsdk-core-ios
  • Integration with Assurance SDK
  • CI/CD - SwiftFormat
  • Added support for SPM, XCFramework
  • Renamed to AEPEdge

Internal tag: AEP-iOS-1.0.0-beta-1

1.0.0-alpha-2 - 2020-07-29 19:11:17

Summary:

  • Multi-datasets support for Experience events
  • Experience Edge + Project Griffon SSF integration for request confirmation events
  • Identity is now required for sending Experience events
  • XDM data is now required for sending Experience events
  • Enabled SwiftLint rules for lint and formatting in Xcode and commits
  • E2E test framework and test cases for the AEP extension

Internal tag: AEP-iOS-1.0.0-alpha-2

Alpha 1 release - 2020-07-13 16:25:30

Summary:

  • Uses ACPCore for core APIs
  • Sends events to Data Platform through ExExge
  • Implements client side store
  • Implements a Swift Network service
  • Connects request & response events on client-side through the event UUID and request ID
  • CI/CD with CircleCI builds, unit&functional test runs, Code coverage reports with Codecov
  • Demo application with commerce events example and pre-generated swift code

Internal tag: AEP-iOS-1.0.0-alpha-1