I am trying to get coordinates for an address, so I am doing:
var coder = new Geocoder();
var positions = (await coder.GetPositionsForAddressAsync(Business.Address)).ToList();
When I run on iOS, it works every time, but when I run on Android, it always return 0 results. Here is my AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="com.clevelandplays.mobile">
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="19" android:theme="@style/Theme.Cpstyle" />
<application android:icon="@drawable/run" android:label="Cleveland Plays">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="MyGoogleAPIKey" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</manifest>
I am able to load and display maps, so I am pretty sure that my Google Play Services API key is setup correctly.
Any ideas what my problem might be?