Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5ee0dd0
Add consent-independent device-attributes path to Edge Network
akhiljain1907 Sep 27, 2026
e15777f
Merge pull request #543 from adobe/staging
ishwetansh Sep 29, 2026
7853dac
ci: add CircleCI build and test workflow
shushinde Oct 13, 2026
673eb02
ci: bump Xcode version to 26.6.0
shushinde Oct 13, 2026
b7ce341
Merge pull request #546 from adobe/feature/circleci-build-and-test
shushinde Oct 13, 2026
6d7369e
updated Edge SDK to provide bypassResult
akhiljain1907 Oct 13, 2026
ed8b25c
resolved conflict in Edge.swift
akhiljain1907 Oct 14, 2026
c36e7de
Revert "resolved conflict in Edge.swift"
akhiljain1907 Oct 14, 2026
7739c04
Merge branch 'main' into feat/consent-independent-device-attributes
akhiljain1907 Oct 14, 2026
3beff7c
updated code to resolve merge conflict
akhiljain1907 Oct 14, 2026
4647fb7
fixed lint and test cases
akhiljain1907 Oct 14, 2026
538ee12
addressed review comments and code refactoring
akhiljain1907 Oct 15, 2026
f9cdb2b
fixed failing CI test
akhiljain1907 Oct 15, 2026
95a58ef
Isolate consent-bypass device attributes path from interact flow
sagar-sharma-adobe Oct 15, 2026
f81b66b
Use shared config and identity readiness for device attributes events
sagar-sharma-adobe Oct 15, 2026
0d29090
Keep Edge.init(runtime:) designated so cross-module subclasses compile
sagar-sharma-adobe Oct 15, 2026
e287970
Restore ECID check and align device attributes naming across platforms
sagar-sharma-adobe Oct 15, 2026
d9d1930
Ignore location hints in device attributes responses and reject reque…
sagar-sharma-adobe Oct 16, 2026
a122698
Ignore device attributes response handles
sagar-sharma-adobe Oct 19, 2026
1607f46
Clarify device attributes comments
sagar-sharma-adobe Oct 19, 2026
0c29893
Fix device attributes requests with multiple ECIDs
namArora3112 Oct 19, 2026
c1cbb6f
Rename edgeBypassConsent event type to edgeDeviceAttributes
sagar-sharma-adobe Oct 21, 2026
e4f238c
Merge pull request #547 from adobe/device-attributes-isolation
akhiljain1907 Oct 21, 2026
20e3079
Updating version to 5.3.0
github-actions[bot] Oct 21, 2026
472e86d
Merge pull request #550 from adobe/update-version-5.3.0
akhiljain1907 Oct 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
275 changes: 275 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
#
# Copyright 2026 Adobe. All rights reserved.
# This file is licensed to you under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. You may obtain a copy
# of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
# OF ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.
#

version: 2.1

orbs:
macos: circleci/macos@2

workflows:
version: 2
build-and-test:
jobs:
- validate-code
- test-ios-unit:
requires:
- validate-code
- test-ios-functional:
requires:
- validate-code
- test-ios-integration:
requires:
- validate-code
- test-tvos-unit:
requires:
- validate-code
- test-tvos-functional:
requires:
- validate-code
- build-xcframework-and-app:
requires:
- validate-code

commands:
install_dependencies:
steps:
- run:
name: Install XcodeGen
command: brew install xcodegen

- restore_cache:
name: Restore Gemfile cache
keys:
- gems-v1-{{ checksum "Gemfile.lock" }}
- gems-v1-

- run:
name: Configure Bundler
command: |
bundle config set path 'vendor/bundle'
bundle check || bundle install

- save_cache:
name: Save Gemfile cache
key: gems-v1-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

- restore_cache:
name: Restore CocoaPods cache
keys:
- pods-v1-{{ checksum "Podfile.lock" }}
- pods-v1-

- run:
name: Install CocoaPods
command: make ci-pod-install

- save_cache:
name: Save CocoaPods cache
key: pods-v1-{{ checksum "Podfile.lock" }}
paths:
- Pods
- ~/.cocoapods

prestart_ios_simulator:
steps:
- macos/preboot-simulator:
platform: "iOS"
device: "iPhone 16"
version: "18.6"

prestart_tvos_simulator:
steps:
- macos/preboot-simulator:
platform: "tvOS"
device: "Apple TV"
version: "18.5"

parse_and_upload_coverage:
description: "Convert .xcresult → Cobertura XML and upload to Codecov"
parameters:
path: { type: string }
flag: { type: string }
steps:
- run:
name: Install xcresultparser
command: brew list xcresultparser || brew install xcresultparser

- run:
name: Parse .xcresult bundle(s)
command: |
set -eo pipefail
mkdir -p ./build/coverage

BUNDLE="<< parameters.path >>"

if [ -d "$BUNDLE" ]; then
echo "Directory given; searching for .xcresult…"
RESULT_FILES=$(find "$BUNDLE" -name "*.xcresult")
[ -z "$RESULT_FILES" ] && { echo "No .xcresult found"; exit 0; }

COUNT=$(echo "$RESULT_FILES" | wc -w)
if [ "$COUNT" -gt 1 ]; then
echo "Merging $COUNT result bundles"
MERGE_CMD="xcrun xccov merge --output ./build/Merged.xcresult"
for f in $RESULT_FILES; do MERGE_CMD="$MERGE_CMD $f"; done
eval "$MERGE_CMD"
xcresultparser --output-format cobertura ./build/Merged.xcresult > ./build/coverage/coverage.xml
else
echo "Single bundle found"
xcresultparser --output-format cobertura $RESULT_FILES > ./build/coverage/coverage.xml
fi
else
echo "File given; parsing $BUNDLE"
xcresultparser --output-format cobertura "$BUNDLE" > ./build/coverage/coverage.xml
fi

- run:
name: Upload coverage to Codecov
command: |
python3 -m pip install --user --break-system-packages codecov-cli || true
export PATH="$(python3 -m site --user-base)/bin:$PATH"
codecovcli upload-process \
-t "${CODECOV_TOKEN}" \
-f ./build/coverage/coverage.xml \
-F "<< parameters.flag >>" \
-n "<< parameters.flag >>" \
--disable-search || echo "Codecov upload failed (non-fatal)"

jobs:
validate-code:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

steps:
- checkout
- install_dependencies
- run:
name: Lint Source Code
command: make lint

test-ios-unit:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

environment:
IOS_DEVICE_NAME: "iPhone 16"
IOS_VERSION: "18.6"

steps:
- checkout
- install_dependencies
- prestart_ios_simulator
- run:
name: Run Unit Tests (iOS)
command: make unit-test-ios
- parse_and_upload_coverage:
path: build/reports/iosUnitResults.xcresult
flag: ios-unit-tests

test-ios-functional:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

environment:
IOS_DEVICE_NAME: "iPhone 16"
IOS_VERSION: "18.6"

steps:
- checkout
- install_dependencies
- prestart_ios_simulator
- run:
name: Run Functional Tests (iOS)
command: make functional-test-ios
- parse_and_upload_coverage:
path: build/reports/iosFunctionalResults.xcresult
flag: ios-functional-tests

test-ios-integration:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

environment:
IOS_DEVICE_NAME: "iPhone 16"
IOS_VERSION: "18.6"

steps:
- checkout
- install_dependencies
- prestart_ios_simulator
- run:
name: Run Integration Tests (iOS)
command: make integration-test-ios
- parse_and_upload_coverage:
path: build/reports/iosIntegrationUpstreamResults.xcresult
flag: ios-integration-tests

test-tvos-unit:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

environment:
TVOS_DEVICE_NAME: "Apple TV"
TVOS_VERSION: "18.5"

steps:
- checkout
- install_dependencies
- prestart_tvos_simulator
- run:
name: Run Unit Tests (tvOS)
command: make unit-test-tvos
- parse_and_upload_coverage:
path: build/reports/tvosUnitResults.xcresult
flag: tvos-unit-tests

test-tvos-functional:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

environment:
TVOS_DEVICE_NAME: "Apple TV"
TVOS_VERSION: "18.5"

steps:
- checkout
- install_dependencies
- prestart_tvos_simulator
- run:
name: Run Functional Tests (tvOS)
command: make functional-test-tvos
- parse_and_upload_coverage:
path: build/reports/tvosFunctionalResults.xcresult
flag: tvos-functional-tests

build-xcframework-and-app:
resource_class: m4pro.medium
macos:
xcode: 26.6.0

steps:
- checkout
- install_dependencies
- run:
name: Build XCFramework
command: make archive
- run:
name: Build Test App
command: make build-app
2 changes: 1 addition & 1 deletion AEPEdge.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "AEPEdge"
s.version = "5.2.0"
s.version = "5.3.0"
s.summary = "Experience Platform Edge extension for Adobe Experience Platform Mobile SDK. Written and maintained by Adobe."

s.description = <<-DESC
Expand Down
52 changes: 50 additions & 2 deletions AEPEdge.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
DA0A02000000000000000000 /* DeviceAttributesConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01000000000000000000 /* DeviceAttributesConstants.swift */; };
DA0A02010000000000000000 /* Event+DeviceAttributes.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01010000000000000000 /* Event+DeviceAttributes.swift */; };
DA0A02020000000000000000 /* DeviceAttributesRequestBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01020000000000000000 /* DeviceAttributesRequestBuilder.swift */; };
DA0A02030000000000000000 /* DeviceAttributesNetworkService.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01030000000000000000 /* DeviceAttributesNetworkService.swift */; };
DA0A020A0000000000000000 /* DeviceAttributesNetworkResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A010A0000000000000000 /* DeviceAttributesNetworkResult.swift */; };
DA0A02050000000000000000 /* DeviceAttributesHitProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01050000000000000000 /* DeviceAttributesHitProcessor.swift */; };
DA0A02060000000000000000 /* DeviceAttributesEdgeExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01060000000000000000 /* DeviceAttributesEdgeExtensionTests.swift */; };
DA0A02070000000000000000 /* DeviceAttributesEdgeStateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01070000000000000000 /* DeviceAttributesEdgeStateTests.swift */; };
DA0A02080000000000000000 /* DeviceAttributesHitProcessorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01080000000000000000 /* DeviceAttributesHitProcessorTests.swift */; };
DA0A02090000000000000000 /* DeviceAttributesRequestBuilderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0A01090000000000000000 /* DeviceAttributesRequestBuilderTests.swift */; };
1CCD27DC245A240F00E912B2 /* ExperienceEventTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CCD27C82458CB8000E912B2 /* ExperienceEventTests.swift */; };
211BCB8126030DCD00AACFEF /* EdgeDataEntity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 211BCB8026030DCD00AACFEF /* EdgeDataEntity.swift */; };
216989652554B39900B2752C /* EdgeHit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 216989642554B39900B2752C /* EdgeHit.swift */; };
Expand Down Expand Up @@ -221,6 +231,16 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
DA0A01000000000000000000 /* DeviceAttributesConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesConstants.swift; sourceTree = "<group>"; };
DA0A01010000000000000000 /* Event+DeviceAttributes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Event+DeviceAttributes.swift"; sourceTree = "<group>"; };
DA0A01020000000000000000 /* DeviceAttributesRequestBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesRequestBuilder.swift; sourceTree = "<group>"; };
DA0A01030000000000000000 /* DeviceAttributesNetworkService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesNetworkService.swift; sourceTree = "<group>"; };
DA0A010A0000000000000000 /* DeviceAttributesNetworkResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesNetworkResult.swift; sourceTree = "<group>"; };
DA0A01050000000000000000 /* DeviceAttributesHitProcessor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesHitProcessor.swift; sourceTree = "<group>"; };
DA0A01060000000000000000 /* DeviceAttributesEdgeExtensionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesEdgeExtensionTests.swift; sourceTree = "<group>"; };
DA0A01070000000000000000 /* DeviceAttributesEdgeStateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesEdgeStateTests.swift; sourceTree = "<group>"; };
DA0A01080000000000000000 /* DeviceAttributesHitProcessorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesHitProcessorTests.swift; sourceTree = "<group>"; };
DA0A01090000000000000000 /* DeviceAttributesRequestBuilderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceAttributesRequestBuilderTests.swift; sourceTree = "<group>"; };
04A228C42686D67347C85BEA /* Pods-TestAppiOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestAppiOS.release.xcconfig"; path = "Target Support Files/Pods-TestAppiOS/Pods-TestAppiOS.release.xcconfig"; sourceTree = "<group>"; };
0B13510405D14B13EFD1B58A /* Pods_FunctionalTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FunctionalTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1CCD27C52458CB2300E912B2 /* ExperienceEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExperienceEvent.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -429,6 +449,19 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
DA0A03000000000000000000 /* DeviceAttributes */ = {
isa = PBXGroup;
children = (
DA0A01000000000000000000 /* DeviceAttributesConstants.swift */,
DA0A01010000000000000000 /* Event+DeviceAttributes.swift */,
DA0A01020000000000000000 /* DeviceAttributesRequestBuilder.swift */,
DA0A01030000000000000000 /* DeviceAttributesNetworkService.swift */,
DA0A010A0000000000000000 /* DeviceAttributesNetworkResult.swift */,
DA0A01050000000000000000 /* DeviceAttributesHitProcessor.swift */,
);
path = DeviceAttributes;
sourceTree = "<group>";
};
1CCD27CD24592B2800E912B2 /* xdm */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -586,6 +619,7 @@
children = (
1CCD27CD24592B2800E912B2 /* xdm */,
D42FB8D52462159300E9321C /* public */,
DA0A03000000000000000000 /* DeviceAttributes */,
D42FB8D02461086200E9321C /* EdgeNetworkHandlers */,
D43BAB0225BB758300B08CC0 /* EdgeConsentStatus.swift */,
BF947F63243565CC0057A6CC /* EdgeConstants.swift */,
Expand Down Expand Up @@ -620,6 +654,10 @@
D45F2E8125EE1987000AC350 /* EdgePublicAPITests.swift */,
BF947F9F244569190057A6CC /* EdgeRequestTests.swift */,
BF74551028BC649A00FF3AEC /* EdgeStateTests.swift */,
DA0A01060000000000000000 /* DeviceAttributesEdgeExtensionTests.swift */,
DA0A01070000000000000000 /* DeviceAttributesEdgeStateTests.swift */,
DA0A01080000000000000000 /* DeviceAttributesHitProcessorTests.swift */,
DA0A01090000000000000000 /* DeviceAttributesRequestBuilderTests.swift */,
1CCD27C82458CB8000E912B2 /* ExperienceEventTests.swift */,
BF0F92502756A3EF00378913 /* ImplementationDetailsTests.swift */,
BF947F73243BA0E10057A6CC /* KonductorConfigTests.swift */,
Expand Down Expand Up @@ -1298,6 +1336,12 @@
buildActionMask = 2147483647;
files = (
D4EC0DBB25E73FF10026EBAA /* EdgeState.swift in Sources */,
DA0A02000000000000000000 /* DeviceAttributesConstants.swift in Sources */,
DA0A02010000000000000000 /* Event+DeviceAttributes.swift in Sources */,
DA0A02020000000000000000 /* DeviceAttributesRequestBuilder.swift in Sources */,
DA0A02030000000000000000 /* DeviceAttributesNetworkService.swift in Sources */,
DA0A020A0000000000000000 /* DeviceAttributesNetworkResult.swift in Sources */,
DA0A02050000000000000000 /* DeviceAttributesHitProcessor.swift in Sources */,
BFDF25AD2BDB077E002114B6 /* SharedStateReader.swift in Sources */,
BF0F924F27476E6C00378913 /* ImplementationDetails.swift in Sources */,
D4C6B437251A76CB0038F4F9 /* XDMProtocols.swift in Sources */,
Expand Down Expand Up @@ -1362,6 +1406,10 @@
BF0F92522756A57800378913 /* ImplementationDetailsTests.swift in Sources */,
BF947F74243BA0E10057A6CC /* KonductorConfigTests.swift in Sources */,
BF74551128BC649A00FF3AEC /* EdgeStateTests.swift in Sources */,
DA0A02060000000000000000 /* DeviceAttributesEdgeExtensionTests.swift in Sources */,
DA0A02070000000000000000 /* DeviceAttributesEdgeStateTests.swift in Sources */,
DA0A02080000000000000000 /* DeviceAttributesHitProcessorTests.swift in Sources */,
DA0A02090000000000000000 /* DeviceAttributesRequestBuilderTests.swift in Sources */,
D4F74FE92447A92800379258 /* MockURLSession.swift in Sources */,
D4145F4025D1D3200019EA4C /* EdgeHitTests.swift in Sources */,
216989B32555376A00B2752C /* EdgeHitProcessorTests.swift in Sources */,
Expand Down Expand Up @@ -1594,7 +1642,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 5.2.0;
MARKETING_VERSION = 5.3.0;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.aep.edge;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -1630,7 +1678,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 5.2.0;
MARKETING_VERSION = 5.3.0;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.aep.edge;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
Loading
Loading