Skip to content

Staging -> Main for 5.5.0 release#1146

Merged
cdhoffmann merged 24 commits intomainfrom
staging
May 12, 2025
Merged

Staging -> Main for 5.5.0 release#1146
cdhoffmann merged 24 commits intomainfrom
staging

Conversation

@cdhoffmann
Copy link
Copy Markdown
Contributor

Description

Merge to main for 5.5.0 release.

  • When using MobileCore.initialize() API, do not register "AnalyticsBase" and "AnalyticsAppExtension" extensions. Fixes issue where tracking calls where handled three times. If using the "AnalyticsAppExtension" extension, use MobileCore.registerExtensions() instead of MobileCore.initialize().
  • No longer call CTCarrier API on iOS 16 and above. Apple has deprecated CTCarrier in iOS 16 with no replacement. Calling SystemInfoService.getMobileCarrierName() on iOS 16 and above will always return nil.
  • Added support for "Fit to content" in "FullscreenMessage".
  • Added support of "Max width" and "Fit to content" for in-app messages via "MessageSettings".

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

sbenedicadb and others added 24 commits April 11, 2025 16:04
[PLATIR-40656] Check for and execute auto-resize of IAM height, safer use of dispatch async
… of extensions filtered out when using initialize API.

The Analytics extension defines a base class AnalyticsBase which adopts Extension plus two subclasses of AnalyticsBase, Analytics and AnalyticsAppExtension. The initialize API would find and register all three of these classes to the SDK tripling the count of each tracking event. The fix is to filter out these extensions so only the Analytics class is registered. The initialize API is not supported in app extensions, so customers building app extensions with Analytics would need to use the registerExtensions API anyway.
Filter out AnalyticsBase and AnalyticsAppExtension classes from initialize API
[MOB-23277] Deprecate getCarrierName on iOS 16
-add in support for maxWidth to MessageSettings and use it when calculating IAM frames
* Fix TokenReplacementTests to be included in test suite

* Sort files by name

* Run pod update
@cdhoffmann cdhoffmann merged commit ba38bd2 into main May 12, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants