|
|
@ -334,6 +334,7 @@ class BarcodeScannerPlugin(private val activity: Activity) : Plugin(activity),
|
|
|
|
|
|
|
|
|
|
|
|
@Command
|
|
|
|
@Command
|
|
|
|
fun cancel(invoke: Invoke) {
|
|
|
|
fun cancel(invoke: Invoke) {
|
|
|
|
|
|
|
|
destroy()
|
|
|
|
savedInvoke?.reject("cancelled")
|
|
|
|
savedInvoke?.reject("cancelled")
|
|
|
|
invoke.resolve()
|
|
|
|
invoke.resolve()
|
|
|
|
}
|
|
|
|
}
|
|
|
|