Don't navigate to promoted pages (#570)#766
Open
magopian wants to merge 1 commit into
Open
Conversation
eaaf1fe to
1502a46
Compare
1502a46 to
9e0506a
Compare
zebuline
approved these changes
Apr 13, 2026
cdesquilbet-dila
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #570, fixes #547
À utiliser dans les applications natives lorsqu'elles démarrent : elle peuvent renseigner la liste des URLs de pages promues (par exemple
/#/settings) dans l'objetwindow.NativeURLs.À chaque tentative de navigation de la webapp, il y a un événement
navigateToavec l'url complète qui est envoyé aux applications natives, et si l'url qui doit être chargée par la webapp contient un fragment qui est listé danswindow.NativeURLs, alors la navigation ne se fait pas du tout.Cela devrait éviter les flashs de navigation quand l'application web affiche brièvement la page avant que l'application native détecte que l'url chargée est en fait pour une page promue, et affiche ensuite la page promue en lieu et place de la webview.