Skip to content

Simplified initialization for AEP SDK#1113

Merged
kevinlind merged 47 commits intoadobe:dev-v5.4.0from
kevinlind:feature/simplifyStart
Feb 14, 2025
Merged

Simplified initialization for AEP SDK#1113
kevinlind merged 47 commits intoadobe:dev-v5.4.0from
kevinlind:feature/simplifyStart

Conversation

@kevinlind
Copy link
Copy Markdown
Contributor

Add simplified initialization for AEP SDK.

Added MobileCore.initialize(...) APIs
Added MobileCoreInitializer class to handle initialization
Added InitOptions class
The new API automatically registers bundled extensions, sets up lifecycle tracking, and configures the SDK.
Added ClassFinder utility in AEPServices which finds all iOS registered classes based on a given Protocol

cdhoffmann and others added 30 commits February 23, 2023 09:28
@kevinlind kevinlind requested a review from cdhoffmann February 7, 2025 21:22
override func setUp() {
NamedCollectionDataStore.clear()
MobileCore.resetSDK()
MockExtension.reset()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we create a mocked event hub and test the API calls directly, rather than registering a mock extension and adding listeners to it? In general, it would be simpler if we could minimize the number of EventHub.shared calls in individual tests?

@praveek praveek changed the base branch from dev-v5.3.2 to dev-v5.3.0 February 12, 2025 16:34
@praveek praveek changed the base branch from dev-v5.3.0 to dev-v5.4.0 February 12, 2025 16:46
@kevinlind kevinlind merged commit 097357f into adobe:dev-v5.4.0 Feb 14, 2025
3 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.

3 participants