diff --git a/src/android/io/anyline/cordova/AnylinePlugin.java b/src/android/io/anyline/cordova/AnylinePlugin.java index 01a17930..46a81351 100644 --- a/src/android/io/anyline/cordova/AnylinePlugin.java +++ b/src/android/io/anyline/cordova/AnylinePlugin.java @@ -74,10 +74,6 @@ public void run() { } private void checkPermission() { - int MyVersion = Build.VERSION.SDK_INT; - if (MyVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) { - startScanning(mAction, mArgs); - } boolean result = cordova.hasPermission("android.permission.CAMERA"); if (result) { startScanning(mAction, mArgs);