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

Export MobileScannerArguments Type #7

Closed
DevNico opened this issue Feb 21, 2022 · 1 comment · Fixed by #22
Closed

Export MobileScannerArguments Type #7

DevNico opened this issue Feb 21, 2022 · 1 comment · Fixed by #22
Labels
enhancement New feature or request
Milestone

Comments

@DevNico
Copy link

DevNico commented Feb 21, 2022

Would be great if you could export the MobileScannerArguments type used in the onDetect callback.

@juliansteenbakker
Copy link
Owner

That's a good idea! I'm still thinking about how we can pass these arguments, since the parameters of these arguments generally don't change. I don't think we need to pass them on every onDetect call, so i'm thinking more of a onInit function that only get's called once when initialising the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants