We start location data feed request here.
This method takes two optional positional parameters locationServiceProvider and locationProviderlocationServiceProvider -> which is nothing but location service provider selector
i.e. whether to get location data by using GoogleMobileServices based Fused Location Provider
or platform based LocationManager
locationProvider -> which identifies what kind of location service i.e. GPS/ Network, to use
when we want to get platform's LocationManager based Location data.
in case of GMSBasedLocationService, no need to send this parameter
*** Remember one important thing, GMSBasedLocationService requires Access_Fine_Location permission.***
whenever you require location data, first make sure you have called this method,
to check whether location permission is available or not.
if permission is already granted, it'll simply return true
is runtime permission is denied by user, it'll return false.
decision to perform further operation needs to be taken by watching this methods result
well it's async ;)