Maui usage of Glide is preventing us from using our own model loaders #22465
Labels
area-controls-image
Image control
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
s/needs-attention
Issue has more information and needs another look
t/bug
Something isn't working
Description
We are currently porting a xamarin forms app to MAUI. The app used Android Glide and in it we would add an AppGlideModule that helped us register a couple of model loader factories. But now MAUI has its own AppGlideModule which prevents us from adding one of our own. Glide documentation mentions: "Libraries must not include AppGlideModule implementations. Doing so will prevent any applications that depend on the library from managing their dependencies or configuring options like Glide’s cache sizes and locations.".
This is currently preventing us from using Glide which makes the performance of our app considerably worse. Any workaround or guidance is appreciated.
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
We tried adding our glide module as a LibraryGlideModule but it fails to register correctly.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: