I created a new Maui multi-project solution and I am unable to get access to IImageService whether via ImageService.Instance or ServiceHelper.GetService<IImageService>(). I tried calling builder.UseFFImageLoading() from the shared project's MauiProgramExtensions, from the Android/iOS project's MauiProgram class,
Steps to Reproduce
Create new Maui multi-project solution.
Add builder.UseFFImageLoading() in as many places as possible (shared, Android, iOS, etc.).
Attempt to access ImageService.Instance or ServiceHelper.GetService<IImageService>()
Expected Behavior
ImageService.Instance and ServiceHelper.GetService<IImageService>() are accessible.
Actual Behavior
ImageService.Instance is null and ServiceHelper.GetService<IImageService>() returns null.
Basic Information
Version with issue: 1.2.7 (also tried 1.2.1 with the same problem)
Description
I created a new Maui multi-project solution and I am unable to get access to
IImageService
whether viaImageService.Instance
orServiceHelper.GetService<IImageService>()
. I tried callingbuilder.UseFFImageLoading()
from the shared project'sMauiProgramExtensions
, from the Android/iOS project'sMauiProgram
class,Steps to Reproduce
builder.UseFFImageLoading()
in as many places as possible (shared, Android, iOS, etc.).ImageService.Instance
orServiceHelper.GetService<IImageService>()
Expected Behavior
ImageService.Instance
andServiceHelper.GetService<IImageService>()
are accessible.Actual Behavior
ImageService.Instance
is null andServiceHelper.GetService<IImageService>()
returns null.Basic Information