Browse Source

Location Consent class added

master
Kaustav Chaudhuri 1 year ago
parent
commit
73507fe18d
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      GMCabsDriverAssistantSolution/Platforms/Android/LocationConsent.cs

+ 19
- 0
GMCabsDriverAssistantSolution/Platforms/Android/LocationConsent.cs View File

@ -0,0 +1,19 @@
using GMCabsDriverAssistant;
using GMCabsDriverAssistantSolution.Platforms.Android;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[assembly: Dependency(typeof(LocationConsent))]
namespace GMCabsDriverAssistantSolution.Platforms.Android
{
class LocationConsent :ILocationConsent
{
public async Task GetLocationConsent()
{
await Permissions.RequestAsync<Permissions.LocationAlways>();
}
}
}

Loading…
Cancel
Save