From e97d4c7feadb0d4aa724c26c9239e77f92ea5d23 Mon Sep 17 00:00:00 2001 From: namArora3112 Date: Fri, 12 Jun 2026 10:06:48 +0530 Subject: [PATCH 1/3] added api doc along with release notes for updateProfileAttributes --- .../release-notes.md | 10 ++++-- .../home/base/mobile-core/api-reference.md | 31 +++++++++++++++++++ .../home/base/mobile-core/release-notes.md | 6 ++++ src/pages/home/release-notes/index.md | 10 ++++++ 4 files changed, 55 insertions(+), 2 deletions(-) diff --git a/src/pages/edge/identity-for-edge-network/release-notes.md b/src/pages/edge/identity-for-edge-network/release-notes.md index f9bcc8f88a..6860934898 100644 --- a/src/pages/edge/identity-for-edge-network/release-notes.md +++ b/src/pages/edge/identity-for-edge-network/release-notes.md @@ -9,6 +9,12 @@ keywords: # Release notes +## June 12, 2026 + +### iOS EdgeIdentity 5.1.0 + +* Added support for processing `updateProfileAttributes` events dispatched by AEPCore. When `MobileCore.updateProfileAttributes().setTimezone()` is called, EdgeIdentity validates the IANA timezone identifier, deduplicates against persistent storage (retained across app restarts), and forwards changed values to the Adobe Edge Network as a `profile.updateAttributes` XDM event. + ## March 28, 2025 ### React Native EdgeIdentity 7.0.0 @@ -19,14 +25,14 @@ keywords: ### Flutter EdgeIdentity 5.0.0 -* Update to use BOM [(Bill of Materials)](https://central.sonatype.com/artifact/com.adobe.marketing.mobile/sdk-bom) for Android SDK dependencies. +* Update to use BOM [(Bill of Materials)](https://central.sonatype.com/artifact/com.adobe.marketing.mobile/sdk-bom) for Android SDK dependencies. * Update tests to handle the deprecation warning for `setMockMethodCallHandler`. ## February 10, 2025 ### Android EdgeIdentity 3.0.1 -* Added support for the new `MobileCore.initialize` API introduced in Core. +* Added support for the new `MobileCore.initialize` API introduced in Core. ## June 6, 2024 diff --git a/src/pages/home/base/mobile-core/api-reference.md b/src/pages/home/base/mobile-core/api-reference.md index ff70ce6829..bf6ca0726d 100644 --- a/src/pages/home/base/mobile-core/api-reference.md +++ b/src/pages/home/base/mobile-core/api-reference.md @@ -1562,6 +1562,37 @@ MobileCore.trackState("homePage", additionalContextData); You can update the configuration programmatically by passing configuration keys and values to override the existing configuration using `updateConfiguration` API. For more information about configuration in Mobile Core, please refer to the [Configuration API reference](configuration/api-reference.md#updateconfiguration). +## updateProfileAttributes + +Returns a `ProfileAttributesBuilder` for syncing user profile attributes — such as device timezone — to the Adobe Edge Network. Each setter on the builder dispatches a Core event immediately; no `.send()` call is required. + + + +It is the responsibility of the app to call this API with a valid value and keep profile attributes up to date. The SDK does not read any attribute from the OS — the caller must supply the correct value explicitly. Call this API as early as possible during app launch so that the Edge Network has accurate data before any personalization or notification requests are made. + + + +Requires the [Identity for Edge Network](../../../edge/identity-for-edge-network/index.md) extension to be registered. That extension validates each value, deduplicates against its persistent store (so unchanged values never trigger a network request even after an app restart), and forwards new values to the Edge Network as a `profile.updateAttributes` XDM event. + +### iOS Swift + + + +#### Syntax + +```swift +@available(iOS 12.0, tvOS 12.0, *) +@discardableResult +public static func updateProfileAttributes() -> ProfileAttributesBuilder +``` + +#### Example + +```swift +MobileCore.updateProfileAttributes() + .setTimezone(TimeZone(identifier: "America/New_York")!) +``` + ## Public classes ### AdobeCallback diff --git a/src/pages/home/base/mobile-core/release-notes.md b/src/pages/home/base/mobile-core/release-notes.md index 0e8bdf5e4a..ee3111bdee 100644 --- a/src/pages/home/base/mobile-core/release-notes.md +++ b/src/pages/home/base/mobile-core/release-notes.md @@ -8,6 +8,12 @@ keywords: # Release notes +## June 12, 2026 + +### iOS Core 5.9.0 + +* Added `updateProfileAttributes()` API that returns a `ProfileAttributesBuilder` for syncing user profile attributes to the Adobe Edge Network. In this release, `setTimezone(_ timezone: TimeZone)` is supported, which syncs the device timezone as an IANA identifier string. Requires the [Identity for Edge Network](../../../edge/identity-for-edge-network/index.md) extension. + ## February 19, 2026 ### Android Core 3.6.0 diff --git a/src/pages/home/release-notes/index.md b/src/pages/home/release-notes/index.md index a52fe7f23d..6d70ed7ac0 100644 --- a/src/pages/home/release-notes/index.md +++ b/src/pages/home/release-notes/index.md @@ -7,6 +7,16 @@ Keywords: # Release notes +## June 12, 2026 + +### iOS Core 5.9.0 + +* Added `updateProfileAttributes()` API that returns a `ProfileAttributesBuilder` for syncing user profile attributes to the Adobe Edge Network. In this release, `setTimezone(_ timezone: TimeZone)` is supported, which syncs the device timezone as an IANA identifier string. Requires the Identity for Edge Network extension. + +### iOS EdgeIdentity 5.1.0 + +* Added support for processing `updateProfileAttributes` events dispatched by AEPCore. EdgeIdentity validates the IANA timezone identifier, deduplicates against persistent storage, and forwards changed values to the Edge Network as a `profile.updateAttributes` XDM event. + ## April 21, 2026 ### React Native Messaging 7.4.0 From 171ebbd74a4b186376170937647982b668075c4c Mon Sep 17 00:00:00 2001 From: namArora3112 Date: Fri, 19 Jun 2026 12:49:19 +0530 Subject: [PATCH 2/3] updated api references for updateProfileAttributes api --- src/pages/home/base/mobile-core/api-reference.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/home/base/mobile-core/api-reference.md b/src/pages/home/base/mobile-core/api-reference.md index bf6ca0726d..be73fd14ed 100644 --- a/src/pages/home/base/mobile-core/api-reference.md +++ b/src/pages/home/base/mobile-core/api-reference.md @@ -1564,15 +1564,15 @@ You can update the configuration programmatically by passing configuration keys ## updateProfileAttributes -Returns a `ProfileAttributesBuilder` for syncing user profile attributes — such as device timezone — to the Adobe Edge Network. Each setter on the builder dispatches a Core event immediately; no `.send()` call is required. +Updates profile attributes for syncing to the Adobe Experience Platform Edge Network. -It is the responsibility of the app to call this API with a valid value and keep profile attributes up to date. The SDK does not read any attribute from the OS — the caller must supply the correct value explicitly. Call this API as early as possible during app launch so that the Edge Network has accurate data before any personalization or notification requests are made. +It is the responsibility of the app to provide valid and up-to-date profile attribute values. The SDK does not read these values automatically from the OS. Call this API as early as possible during app launch so that the Edge Network has accurate data before personalization or notification requests are made. -Requires the [Identity for Edge Network](../../../edge/identity-for-edge-network/index.md) extension to be registered. That extension validates each value, deduplicates against its persistent store (so unchanged values never trigger a network request even after an app restart), and forwards new values to the Edge Network as a `profile.updateAttributes` XDM event. +Requires the [Identity for Edge Network](../../../edge/identity-for-edge-network/index.md) extension to be registered. ### iOS Swift @@ -1582,15 +1582,15 @@ Requires the [Identity for Edge Network](../../../edge/identity-for-edge-network ```swift @available(iOS 12.0, tvOS 12.0, *) -@discardableResult -public static func updateProfileAttributes() -> ProfileAttributesBuilder +public static func updateProfileAttributes(_ attributes: ProfileAttributes) ``` #### Example ```swift -MobileCore.updateProfileAttributes() - .setTimezone(TimeZone(identifier: "America/New_York")!) +MobileCore.updateProfileAttributes( + ProfileAttributes(timeZone: TimeZone(identifier: "America/New_York")) +) ``` ## Public classes From 93324aaf3af7bfe77987cb59a99f621c8523368f Mon Sep 17 00:00:00 2001 From: namArora3112 Date: Wed, 24 Jun 2026 11:16:56 +0530 Subject: [PATCH 3/3] updation api docs --- src/pages/edge/identity-for-edge-network/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/edge/identity-for-edge-network/release-notes.md b/src/pages/edge/identity-for-edge-network/release-notes.md index 6860934898..3c0839ff7c 100644 --- a/src/pages/edge/identity-for-edge-network/release-notes.md +++ b/src/pages/edge/identity-for-edge-network/release-notes.md @@ -13,7 +13,7 @@ keywords: ### iOS EdgeIdentity 5.1.0 -* Added support for processing `updateProfileAttributes` events dispatched by AEPCore. When `MobileCore.updateProfileAttributes().setTimezone()` is called, EdgeIdentity validates the IANA timezone identifier, deduplicates against persistent storage (retained across app restarts), and forwards changed values to the Adobe Edge Network as a `profile.updateAttributes` XDM event. +* Added support for processing `updateProfileAttributes` events dispatched by AEPCore. When `MobileCore.updateProfileAttributes(ProfileAttributes(timeZone: TimeZone(identifier: "America/New_York")))` is called, EdgeIdentity validates the IANA timezone identifier, deduplicates against persistent storage (retained across app restarts), and forwards changed values to the Adobe Edge Network as a `profile.updateAttributes` XDM event. ## March 28, 2025