How to remove Geo-fencing from CiyaShop Android?
To remove Geofencing from CiyaShop Android need to follow below steps;
Step 1: Find below code and remove it from AndroidManifest.xml
file
<service android:name=".helper.GetLocationServices"></service>
Step 2: Find buildGoogleApiClient();
mothod and remove from SplashScreenActivity.java
Step 3: Find Code below in SplashScreenActivity.java
if (mayRequestPermission()) {
setData();
}
and replace with
setData();
Step 4: Find buildGoogleApiClient();
mothod and remove from BaseActivity.java
Step 5: Find method below in BaseActivity.java
and remove all the methods;
buildGoogleApiClient()
onConnected()
onConnectionSuspended()
onConnectionFailed()
onLocationChanged()
onRequestPermissionsResult()
Step 6: Find IMPLEMENTATIONS as below in BaseActivity.java
and remove all the IMPLEMENTATION;
GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener
Refer screenshot below to get idea about implementation.