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

bug: LaunchBuilder contexts not used on mobile #3353

Open
tdomhan opened this issue Dec 13, 2024 · 0 comments
Open

bug: LaunchBuilder contexts not used on mobile #3353

tdomhan opened this issue Dec 13, 2024 · 0 comments

Comments

@tdomhan
Copy link

tdomhan commented Dec 13, 2024

Problem

Currently the contexts that are passed to LaunchBuilder::new().with_context_provider do not gets used in the mobile launcher. See here
https://github.com/DioxusLabs/dioxus/blob/main/packages/mobile/src/lib.rs#L15
where the contexts that are passed are not forwarded to the desktop launcher that is called for ios and also not used for the Android launcher.

Steps To Reproduce

        LaunchBuilder::new()
            .with_context_provider(|| Box::new(AppState::new()))
            .launch(App);

Expected behavior
LaunchBuilder contexts to be available in Elements on mobile.

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

No branches or pull requests

1 participant