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

Repack Navigation From Mini App To Main APP #514

Closed
Nazehs opened this issue Mar 4, 2024 · 3 comments
Closed

Repack Navigation From Mini App To Main APP #514

Nazehs opened this issue Mar 4, 2024 · 3 comments

Comments

@Nazehs
Copy link

Nazehs commented Mar 4, 2024

Ask your Question

I am wondering how navigation works in repack. I am certain the back button navigation takes me back to the previous route on the stack but i am wondering how i can take a user from the mini page for example to the main page directly without using the back button.
In my use case, i want to go back to the main app because the navigations of the main app are not in the mini app when the mini app launches and i want them to be able to move back to the main app because of how my app is designed

@Nazehs Nazehs added the question label Mar 4, 2024
@jbroma
Copy link
Member

jbroma commented Mar 5, 2024

Hi @Nazehs,

if your NavigationContainer is in the host app and the mini-app is rendered within the component tree, then you could just do navigation.navigate() to any screen in the app that you want. You could also utilize pop and popToTop to achieve similar effect.

In terms of navigation, not much changes in that respect when using MF.

Copy link

github-actions bot commented Apr 5, 2024

This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.

@github-actions github-actions bot added the Stale label Apr 5, 2024
Copy link

This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants