Status Update
Comments
il...@google.com <il...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit c2365dcfeb9064814282304f30f3eb86be71fdc7
Author: Dan Nizri <dniz@google.com>
Date: Wed Dec 20 16:33:08 2023
Fix Popup back handling on Android T/13+ when android:enableOnBackInvokedCallback="true"
Bug: 313702338
Bug: 318537200
Test: tested with android:enableOnBackInvokedCallback="true"
Change-Id: I7c7cef686ed9fbfd2d144c90040b13528f1675ed
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
https://android-review.googlesource.com/2886766
Branch: androidx-main
commit c2365dcfeb9064814282304f30f3eb86be71fdc7
Author: Dan Nizri <dniz@google.com>
Date: Wed Dec 20 16:33:08 2023
Fix Popup back handling on Android T/13+ when android:enableOnBackInvokedCallback="true"
Bug: 313702338
Bug: 318537200
Test: tested with android:enableOnBackInvokedCallback="true"
Change-Id: I7c7cef686ed9fbfd2d144c90040b13528f1675ed
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
br...@gmail.com <br...@gmail.com> #3
Is there remaining work for this feature request. Support for predictive back in Dialogs would allow Material3 to remove some Dialog forks and would be very helpful!
Description
Version used: 2.2.0-rc02
Devices/Android versions reproduced on: Pixel 3XL API 28
If you have a deeplink that contains querystring parameters, and the last parameter BEFORE the querystring is an Integer, the Integer value will not get parsed correctly. It appears that perhaps the regex that does matching is greedy, and only the first digit of the integer comes through. Consider the following deep link:
And a user opens the app using the following URL:
I would expect the navigation Arguments to come through as:
myNumber: 342
myQs: someValue
But that is not what happens. Instead, I get:
myNumber: 3
myQs: someValue
The attached demo project reproduces the issue, and the screen recording shows the demo project running....