MAUI Dotnet Geozones integration
Learn how to integrate geozones functionality into your MAUI .NET application
Last updated
Learn how to integrate geozones functionality into your MAUI .NET application
Last updated
Integrating the Geozones functionality into your MAUI .NET application is straightforward with Pushwoosh. Follow these steps to get started:
Add the Pushwoosh.DotNet.Geozones NuGet Package to your solution
Android integration
In your Android project, locate the MainActivity.cs file and call LocationManager.Init()
in OnCreate()
method:
iOS integration
For your iOS project, open the AppDelegate.cs file and call LocationManager.Init()
in FinishedLaunching()
method:
Add location permissions based on your app's requirements.
Privacy - Location When In Use Usage Description permission should always be added.
5. Then start location tracking by calling the StartLocationTracking()
method.
Remember to test your implementation on both Android and iOS platforms to ensure everything is working as expected.