-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
QRScanner is missing 'destroy' #1916
Comments
Agreed. This is an issue I ran into when trying to solve another problem https://forum.ionicframework.com/t/qrscanner-camera-preview-is-not-removed/105104 I've made the required changes and have submitted a pull request. In the meantime you can add the destroy method manually by editing the index.d.ts and index.metadata.json files. |
@Inconspicuously Thanks! Your PR appears to be closed? |
Yes, I realised it wasn't building properly and then did a fantastic job of messing up the merges, which finally resulted in me starting over with a new repository. I have now figured out how I'm supposed to test it properly before attempting to do a PR. |
No worries :) |
fix(qr-scanner): added destroy method (danielsogl#1916)
The ionic-native QRScanner implementation doesn't appear to support the destroy method. I believe this method is important to turn off the camera and save battery once you're done scanning. Unless there's something I'm missing/not understanding?
The text was updated successfully, but these errors were encountered: