Skip to content

Commit

Permalink
chore(barcode-scanning): remove deprecated warnings for torch methods (
Browse files Browse the repository at this point in the history
…#209)

* fix(barcode-scanning): remove deprecated warnings for torch methods

Close robingenz/capacitor-mlkit-plugin-demo#27

* Delete .changeset/stupid-trains-change.md
  • Loading branch information
robingenz authored Nov 15, 2024
1 parent 877eeb3 commit 3492c0e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/barcode-scanning/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export interface BarcodeScannerPlugin {
* Only available on Android and iOS.
*
* @since 0.0.1
* @deprecated Use the [Capacitor Torch](https://capawesome.io/plugins/torch/) plugin instead.
*/
enableTorch(): Promise<void>;
/**
Expand All @@ -65,7 +64,6 @@ export interface BarcodeScannerPlugin {
* Only available on Android and iOS.
*
* @since 0.0.1
* @deprecated Use the [Capacitor Torch](https://capawesome.io/plugins/torch/) plugin instead.
*/
disableTorch(): Promise<void>;
/**
Expand All @@ -74,7 +72,6 @@ export interface BarcodeScannerPlugin {
* Only available on Android and iOS.
*
* @since 0.0.1
* @deprecated Use the [Capacitor Torch](https://capawesome.io/plugins/torch/) plugin instead.
*/
toggleTorch(): Promise<void>;
/**
Expand All @@ -83,7 +80,6 @@ export interface BarcodeScannerPlugin {
* Only available on Android and iOS.
*
* @since 0.0.1
* @deprecated Use the [Capacitor Torch](https://capawesome.io/plugins/torch/) plugin instead.
*/
isTorchEnabled(): Promise<IsTorchEnabledResult>;
/**
Expand All @@ -92,7 +88,6 @@ export interface BarcodeScannerPlugin {
* Only available on Android and iOS.
*
* @since 0.0.1
* @deprecated Use the [Capacitor Torch](https://capawesome.io/plugins/torch/) plugin instead.
*/
isTorchAvailable(): Promise<IsTorchAvailableResult>;
/**
Expand Down

0 comments on commit 3492c0e

Please sign in to comment.