Hi,
the new annotation UsesContentProviders for extensions is a long missed feature. Thank you for implementig it.
For one of my extensions I added an AssetFileProvider. To register this provider you have to add an UsesContentProviders annotation to the extension class. You also have to specify an authorities element to the ProviderElement. This element is fixed to the extension not to the app.
The problem is: Android does not like duplicate authorities entries. So having two apps using the same extension only the first one is installed. Android prohibits the installation of the second.
Is there a workaround?
Android Studio allows identifiers in braces inside manifest entries e.g. ${applicationId}. These are replaced when building the app. A similar function would help.
Kind regards
Ulrich