Skip to content

Commit

Permalink
feat(plugin): remove onCancel method override
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobouca committed Dec 3, 2021
1 parent b2451f4 commit 5c175d5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/android/CordovaPluginUrovoScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
return false;
}

@Override
public void onPause(boolean multitasking) {
if (this.scanManager != null) {
this.scanManager.stopDecode();
}
this.webView.getContext().unregisterReceiver(this.scanReceiver);
}

@Override
public void onDestroy() {
if (this.scanReceiver != null) {
Expand Down Expand Up @@ -123,4 +115,4 @@ public void onReceive(Context context, Intent intent) {
}
}
}
}
}

0 comments on commit 5c175d5

Please sign in to comment.