scandit-capacitor-datacapture-parser
Advanced tools
Comparing version 6.20.0-beta.1 to 6.20.0-beta.2
@@ -15,2 +15,3 @@ import { Defaults } from './Defaults'; | ||
SubscribeViewListener = "subscribeViewListener", | ||
UnsubscribeViewListener = "unsubscribeViewListener", | ||
GetCurrentCameraState = "getCurrentCameraState", | ||
@@ -17,0 +18,0 @@ GetIsTorchAvailable = "getIsTorchAvailable", |
@@ -17,2 +17,3 @@ import { capacitorExec } from './CommonCapacitor'; | ||
CapacitorFunction["SubscribeViewListener"] = "subscribeViewListener"; | ||
CapacitorFunction["UnsubscribeViewListener"] = "unsubscribeViewListener"; | ||
CapacitorFunction["GetCurrentCameraState"] = "getCurrentCameraState"; | ||
@@ -19,0 +20,0 @@ CapacitorFunction["GetIsTorchAvailable"] = "getIsTorchAvailable"; |
@@ -41,2 +41,7 @@ import { Point, Quadrilateral, Size, } from '../Common'; | ||
window.Capacitor.Plugins[Capacitor.pluginName][CapacitorFunction.SubscribeViewListener](); | ||
} | ||
unregisterListenerForViewEvents() { | ||
window.Capacitor.Plugins[Capacitor.pluginName][CapacitorFunction.UnsubscribeViewListener](); | ||
} | ||
subscribeDidChangeSize() { | ||
window.Capacitor.Plugins[Capacitor.pluginName] | ||
@@ -43,0 +48,0 @@ .addListener(DataCaptureViewListenerEvent.DidChangeSizeOrientation, this.notifyListeners.bind(this)); |
@@ -233,2 +233,4 @@ export type Optional<T> = T | null; | ||
private subscribeListener; | ||
unregisterListenerForViewEvents(): void; | ||
subscribeDidChangeSize(): void; | ||
private notifyListeners; | ||
@@ -235,0 +237,0 @@ private initialize; |
{ | ||
"name": "scandit-capacitor-datacapture-parser", | ||
"version": "6.20.0-beta.1", | ||
"version": "6.20.0-beta.2", | ||
"description": "Scandit Data Capture SDK for Capacitor", | ||
@@ -37,3 +37,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"scandit-capacitor-datacapture-core": "6.20.0-beta.1" | ||
"scandit-capacitor-datacapture-core": "6.20.0-beta.2" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
275287
67
3308
6
+ Addedscandit-capacitor-datacapture-core@6.20.0-beta.2(transitive)
- Removedscandit-capacitor-datacapture-core@6.20.0-beta.1(transitive)