Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(barcode-scanning): support all barcode types #105

Closed
3 of 7 tasks
robingenz opened this issue Dec 8, 2023 · 2 comments
Closed
3 of 7 tasks

feat(barcode-scanning): support all barcode types #105

robingenz opened this issue Dec 8, 2023 · 2 comments

Comments

@robingenz
Copy link
Member

robingenz commented Dec 8, 2023

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Translation

Current problem

Currently, only the displayValue/rawValue of a barcode is returned.
However, the ML Kit Barcode Scanning SDK also offers the option of returning parsed data such as calendar event details or email details.

Preferred solution

Extend the barcode interface with the following properties:

Example:

export interface Barcode {
  ...
  wifi?: BarcodeWifi;
}

export interface BarcodeWifi {
  encryptionType: BarcodeWifiEncryptionType;
  password: string;
  ssid: string;
}

export enum BarcodeWifiEncryptionType {
  OPEN = 1,
  WPA = 2,
  WEP = 3
}

Alternative options

No response

Additional context

No response

Before submitting

@mertyldrr
Copy link

@robingenz 👋 could you pls assign this issue to me?

@robingenz
Copy link
Member Author

Closed by #206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants