diff --git a/android/src/main/java/com/reactnative/googlefit/RecordingApi.java b/android/src/main/java/com/reactnative/googlefit/RecordingApi.java index 672c6d0f..4e8ff9f3 100644 --- a/android/src/main/java/com/reactnative/googlefit/RecordingApi.java +++ b/android/src/main/java/com/reactnative/googlefit/RecordingApi.java @@ -53,7 +53,7 @@ public static DataType getDataType(String dataTypeName) { case "distance": return DataType.TYPE_DISTANCE_DELTA; case "activity": - return DataType.TYPE_ACTIVITY_SAMPLES; + //return DataType.TYPE_ACTIVITY_SAMPLES; default: Log.v(TAG, "Unknown data type " + dataTypeName); return null; @@ -118,4 +118,4 @@ private void sendEvent(ReactContext reactContext, .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class) .emit(eventName, params); } -} \ No newline at end of file +}