MauiAppBuilder.Services.AddGeofencing VS communitytoolkit/mvvm/ioc.AddGeofencing #1577
-
#1 Adding AddGeofencing using MauiAppBuilder.Services #2 Adding AddGeofencing using communitytoolkit/mvvm/ioc. #1 Access GeofenceManager using MauiAppBuilder.Services #2 Access GeofenceManager using communitytoolkit/mvvm/ioc.
Any idea why? |
Beta Was this translation helpful? Give feedback.
Answered by
aritchie
Apr 8, 2025
Replies: 1 comment 5 replies
-
Please follow all the setup files here: https://shinylib.net/client/locations/geofencing/#setup |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. I get it doesn't work with your IOC setup because the UseShiny call needs to be added to it. You can't just call AddGeofencing and have everything working. The UseShiny call only exists off the MauiAppBuilder. If you want to use your CT IOC, you need to manually add all of the things UseShiny does.