public class ParcelableGeofence has disappeared from play-services:10.0.1. Is there a workaround?

69 views Asked by At

Upgrading play-services from 9.6.1 to 10.0.1, public class ParcelableGeofence seems to have disappeared (package com.google.android.gms.location.internal.ParcelableGeofence has gone).

Is there any replacement method or workaround in order to get Latitude and Longitude from a Geofence?

i.e. as a replacement for this...

import com.google.android.gms.location.internal.ParcelableGeofence;



Geofence g;
ParcelableGeofence p = (ParcelableGeofence) g;
p.getLatitude(); p.getLongitude();

And as a supplementary question, is it necessary to upgrade the play-services I'm using? Am I getting hung up on this issue? Should I just carry on using 9.6.1 (i.e. if it ain't broke, why fix it!)

0

There are 0 answers