Status Update
Comments
il...@google.com <il...@google.com> #2
I take it your original request was just to note in the documentation that it wasn't supported?
ap...@google.com <ap...@google.com> #3
il...@google.com <il...@google.com>
[Deleted User] <[Deleted User]> #4
Branch: androidx-master-dev
commit 59b75c42c73e4a6a9979207c702e6841e6665268
Author: Ian Lake <ilake@google.com>
Date: Wed Oct 10 15:54:46 2018
Regex escape NavDeepLinks
Ensure that the only deep link regex like
behavior are {argName} and .* blocks and treat
all other characters as literals.
This fixes issues with URLs with query parameters
(where the ? is a special character) and allows
us to support schemes with '+', -', and '.'
characters as per
Test: NavDeepLinkTest tests pass
BUG: 110057514
BUG: 112806402
Change-Id: If621eb66ed3ca5e0da780c19b30068dd2824d461
M navigation/common/src/androidTest/java/androidx/navigation/NavDeepLinkTest.kt
M navigation/common/src/main/java/androidx/navigation/NavDeepLink.java
[Deleted User] <[Deleted User]> #5
The regex being used is ^[a-zA-Z]+[+\w\-.]*:
Over to Studio to ensure that Manifest Merger also supports the updated schema types.
il...@google.com <il...@google.com> #6
[Deleted User] <[Deleted User]> #7
pe...@gmail.com <pe...@gmail.com> #8
co...@gmail.com <co...@gmail.com> #9
If you're working with Jetpack Navigation in Android and the generated classes don't import MainNavDirections, it usually points to an issue with your setup or the
co...@gmail.com <co...@gmail.com> #10
It sounds like you are dealing with a coding issue, possibly in a web development or React project. If MainNavDirections isn't being imported in generated classes, you may need to explicitly import it in your files. If you provide more specific details about your setup and the context
Description
Version used: 1.0.0-alpha01
Devices/Android versions reproduced on: N/A – compilation/build issue
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
Steps to reproduce:
- Add a global action to a fragment that's in a different package than the main app package