domaven / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
37 stars 51 forks source link

Android project does not compile when using Geofence.Plugin with latest GooglePlayServices #28

Open joaocpaiva opened 7 years ago

joaocpaiva commented 7 years ago

I am getting this error when using plugin 1.1.2 with latest version of GooglePlayServices

C:\Users\rendy\Maven\xamarin-plugins\Geofence\Geofence\Geofence.Plugin.Android\GeofenceImplementation.cs : error XA4204: Unable to resolve interface type 'Android.Gms.Common.Apis.GoogleApiClient/IConnectionCallbacks'. Are you missing an assembly reference?

Any ideas?

clifzero commented 6 years ago

Why is this issue not being attended to? I'm having the exact same problem with this plugin right now.

clifzero commented 6 years ago

If you've already found a solution @joaocpaiva , would you be so kind to share it?

joaocpaiva commented 6 years ago

@Cliffy786 sorry for the super late response but this went off my radar! So I cloned the repo and built the projects myself, that's how I got around this error.

Westat-Transportation commented 5 years ago

We submitted a couple pull requests that address this and the authors of this package released a new plugin that incorporate them. Try https://www.nuget.org/packages/Plugin.Geofence/, it is almost a complete drop in replacement with the exception of a namespace change and can be used in projects targeting API 27.