Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize launch process #1197

Merged
merged 3 commits into from
Oct 6, 2024
Merged

Optimize launch process #1197

merged 3 commits into from
Oct 6, 2024

Conversation

GianniCarlo
Copy link
Collaborator

Purpose

App Intents may launch the app without any scene being created. The way the app initializes the core services (data manager, library service, player manager, etc) does not work properly in this scenario, as it was tied to the lifecycle of the scenes (be it through the main app, or the CarPlay interface)

This PR reworks how the core services are created into an async task, and the scenes now await for this task to finish, and handle any errors that were thrown. We also use AppDependencyManager to mark dependencies that can be used in the app intents

@GianniCarlo GianniCarlo self-assigned this Oct 5, 2024
@GianniCarlo GianniCarlo merged commit 73a84f8 into develop Oct 6, 2024
1 check passed
@GianniCarlo GianniCarlo deleted the rework-launch branch October 6, 2024 04:13
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.

1 participant