You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IntentFilterAttribute is missing PathSuffix and PathAdvancePattern #8235
Given the timelines for .NET 8, I think I will forgo writing a tool to do this for now, and manually add these requested attributes using this as a guide: #3810
For .NET 9 we should probably look at developing a tool to automatically pull in new attributes and generate the needed code.
Activity
jpobst commentedon Aug 3, 2023
@dellis1972 @jonathanpeppers
It looks like this is split between
Mono.AndroidandXamarin.Android.Build.Tasks, is this something you guys normally handle?src/Mono.Android/Android.App/IntentFilterAttribute.cs
src/Xamarin.Android.Build.Tasks/Mono.Android/IntentFilterAttribute.Partial.cs
jonathanpeppers commentedon Aug 3, 2023
I don't think anyone is doing anything for these. The build tasks part is what emits the XML during the build.
How do we make it part of the binding process for new API levels? /cc @jonpryor
jpobst commentedon Aug 3, 2023
It looks like we have this:
https://github.com/xamarin/xamarin-android/tree/main/build-tools/manifest-attribute-codegen
Perhaps I can look at extending it to generate the code we need.
jpobst commentedon Aug 7, 2023
Given the timelines for .NET 8, I think I will forgo writing a tool to do this for now, and manually add these requested attributes using this as a guide: #3810
For .NET 9 we should probably look at developing a tool to automatically pull in new attributes and generate the needed code.
[Mono.Android] [IntentFilter] pathSuffix & pathAdvancedPattern (#8261)
[Mono.Android] [IntentFilter] pathSuffix & pathAdvancedPattern (#8261)