Skip to content

Merge to Main for v5.4.0 release#1119

Merged
kevinlind merged 8 commits intomainfrom
staging
Feb 15, 2025
Merged

Merge to Main for v5.4.0 release#1119
kevinlind merged 8 commits intomainfrom
staging

Conversation

@kevinlind
Copy link
Copy Markdown
Contributor

Description

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 8 commits February 13, 2025 11:49
* Add start function, adjust test app for testing, lifecycle currently not working

* added scenedelegate support

* remove logs and add notification handler for uiapplication foreground

* Automatically find scenedelegate

* add check for tvOS

* Add a sample extension to make sure that it is still registered even without any calls to it

* add core options and make api app only

* clean up for presentation

* Rework initialization api signature.

* Use affirmative boolean InitOptions.enableLifecycleTracking instead.

* Add Objectiv-C annotation for initalize and InitOptions

* Add default value to initialize 'options' api

* Add convenience initializer in InitOptions for Objc

* Refactor InitOptions to just include disableAutomaticLifecycleTracking and additionalContextData parameters.

* Fix check to disable auto lifecycle tracking.

* Add flag to initialize to prevent multiple calls

* Add 'appGroup' to InitOptions

* Change InitOptions to use parameterless initializer.

* Change InitOptions to use affirmative boolean 'automaticLifecycleTracking'

* Add 'appId' to InitOptions and provide convenience 'initialize' api

* Add initializers to InitOptions to set appId or filePath

* Rename InitOptions properties 'lifecycleAutomaticTracking'

* Remove assert from ClassFinder

* InitOptions import Foundation to support objc attribute.

* Fix unused value warning in ClassFinder

* Remove SampleExtension from Core.

* Updates to log messages in MobileCore.initialize

* Refactor initialization code to MobileCoreInitializer class

* add test to ClassFinderTests

* Add MobileCoreInitializer unit tests

* Rename InitOptions.lifecycleAutomaticTracking to lifecycleAutomaticTrackingEnabled

* Format and autocorrect files

* Remove unused import and variable in MobileCore

* Add back testBackground in Swift test app

* Call config APIs before registerExtensions

* Move logic to check for SceneDelegate inside setupLifecycle func

* Call initial lifecycleStart from main thread when not in background

* Update API files

* Move ClassFinder to AEPCore module and make internal

* Setup Lifecycle before calling registerExtensions

* Update AEPServices API after moving ClassFinder to AEPCore

* Specify ClassFinder test using measure is available tvOS 13+

* Use custom Protocol when testing ClassFinder

* Remove unused pendingExtensions array

* Update a few comments in MobileCoreInitializer

* Remove MobileCoreInitializer.shared and add instance to MobileCore.

---------

Co-authored-by: Christopher Hoffmann <cdhoffmann@users.noreply.github.com>
* Add documentation for initialize API

* Few updates. Add note stating API added since 5.4.0
Merge Dev to Staging for v5.4.0 release
@kevinlind kevinlind requested a review from praveek February 15, 2025 00:03
@kevinlind kevinlind merged commit c3727f6 into main Feb 15, 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