Google Map Widget not detecting current device location

When I use the Google Maps widget and try to set the initial location to the Current Device Location and the test the app , the location set as current device location is 0°N, 0°W. This is the default location.

The code of the app is also setting the current location to 0,0. Even though I set the initial location to current location.

I already set the Google map APIs for Web, IOS and Andriod as indicated on the documentation. I also have the location permissions activated, but I still don't know what's wrong.

Please help.

6
2 replies