nisrulz / qreader

:white_square_button: [Android Library] Read QR codes using google's mobile vision api, but without the hassle
http://nisrulz.github.io/qreader
Apache License 2.0
371 stars 108 forks source link

added flash feature in library #51

Closed Taimuur closed 6 years ago

Taimuur commented 6 years ago

I just switched from zbar library to yours as it is more efficient but I just noticed it doesn't have the flash feature as in zbar to just get a reference from lib and turn flash on or off. So I just made changes in the core lib to add this functionality. I have also updated the example project to reflect the changes.

nisrulz commented 6 years ago

@Taimuur can you update your PR to only show code added and remove all changes you introduced via code formatting such as white spaces, indentations, etc. Also your PR should be against develop branch and not master. Please take a look at the develop branch and also the latest readme content here to know about the code style to be used in order to fix code style issues in your PR.