diff --git a/src/android/verification/SensorControlBackgroundChecker.java b/src/android/verification/SensorControlBackgroundChecker.java index 22007fe..b2f841a 100644 --- a/src/android/verification/SensorControlBackgroundChecker.java +++ b/src/android/verification/SensorControlBackgroundChecker.java @@ -107,7 +107,6 @@ public static void checkAppState(final Context ctxt) { SensorControlChecks.checkLocationPermissions(ctxt), SensorControlChecks.checkIgnoreBatteryOptimizations(ctxt), SensorControlChecks.checkMotionActivityPermissions(ctxt), - SensorControlChecks.checkNotificationsEnabled(ctxt), }; boolean allOtherChecksPass = true; for (boolean check: allOtherChecks) { diff --git a/src/ios/Verification/SensorControlBackgroundChecker.m b/src/ios/Verification/SensorControlBackgroundChecker.m index 8c36e50..c3761af 100644 --- a/src/ios/Verification/SensorControlBackgroundChecker.m +++ b/src/ios/Verification/SensorControlBackgroundChecker.m @@ -47,8 +47,7 @@ +(void)checkAppState @([TripDiarySensorControlChecks checkLocationSettings]), @([TripDiarySensorControlChecks checkLocationPermissions]), @([TripDiarySensorControlChecks checkMotionActivitySettings]), - @([TripDiarySensorControlChecks checkMotionActivityPermissions]), - @([TripDiarySensorControlChecks checkNotificationsEnabled]) + @([TripDiarySensorControlChecks checkMotionActivityPermissions]) ]; BOOL allChecksPass = TRUE; for (NSNumber* check in allChecks) {