Closed aragon5956 closed 10 months ago
Thanks for the issue! This issue has been labeled as holiday triage
. With the winter holidays quickly approaching, much of the Ionic Team will soon be taking time off. During this time, issue triaging and PR review will be delayed until the team begins to return. After this period, we will work to ensure that all new issues are properly triaged and that new PRs are reviewed. In the meantime, please read our Winter Holiday Triage Guide for information on how to ensure that your issue is triaged correctly. Thank you!
Can you please create a minimal reproduction of the issue? Since you can't share the entire application, I recommend removing code from that application until you arrive at a minimal reproduction. That way you don't need to share and private code.
i don't understand , is ti not sufficient sufficient with the video and the code ? for me it's enough
the code that is problematic is:"try { this.platform.backButton.subscribeWithPriority(50, () => { const param = this.route.snapshot.params.param; console.log("on rentre dans le code du bouton retour"); this.router.navigate(['/accueil', {param}]) }); }catch (error :any){ console.error(error); }"
Normally we ask for a runnable sample. However, looking at your package.json
I can see the problem is @capacitor/app
is not installed. This package is required for proper hardware back button functionality. Installing that package should resolve the issue.
yeaaaah thanks you very much !
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v7.x my package.json
Current Behavior
Impossible to go to the previous url wit this code:
Expected Behavior
Go to the previous url
Steps to Reproduce
go to github issue of the repo but i can't share my repo
Code Reproduction URL
it's the proof that the back button hardware doesn't work and close the whole of the application
https://github.com/ionic-team/ionic-framework/assets/6029093/36758094-8635-4d7b-96b6-49e77494aad7
Ionic Info
Lastest versions of packages
Additional Information
No response