Skip to content

Commit b54a5c7

Browse files
authored
sendIfConnected (#287)
1 parent 35331aa commit b54a5c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AndroidSDKCore/src/main/java/com/leanplum/internal/LeanplumInternal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public static void trackGeofence(final GeofenceEventType event, double value, St
314314

315315
try {
316316
final Map<String, Object> requestParams = makeTrackArgs(event.getName(), value, info, params, args);
317-
RequestOld.post(Constants.Methods.TRACK_GEOFENCE, requestParams).send();
317+
RequestOld.post(Constants.Methods.TRACK_GEOFENCE, requestParams).sendIfConnected();
318318
} catch (Throwable t) {
319319
Util.handleException(t);
320320
}

0 commit comments

Comments
 (0)