edge_detection
edge_detection copied to clipboard
Flash button not showing on some devices
Is there a way to turn on the flash when scanning to get better results?
the same question
@rsanjuan87 are these flash button not working for you?
ios -
android -
Thanks, but why i can't see flash button in my android device ? @sawankumarbundelkhandi
Nothing here either
Nothing here either
The same me
I solved this problem. Change a bit in android/src/main/kotlin/com/sample/edgedetection/scan/ScanActivity.kt
sorry but, what have you changed?
@rsanjuan87 set flash.visibility = View.VISIBLE
@hieudc110501 can you do a PR of your fix?
Hi, I can't try this fix because I can't access the native code of the edge_detection package, can you help?
Hey, I have the same problem @githuseyingur, the android/src/main/kotlin/com/sample/edgedetection/scan/ScanActivity.kt directory is not present in my code. How can I access the source code of the edge_detection package? pub dev: https://pub.dev/packages/edge_detection
@muhammedhosgor here is the file - https://github.com/sawankumarbundelkhandi/edge_detection/blob/master/android/src/main/kotlin/com/sample/edgedetection/scan/ScanActivity.kt.
You can fork the project and change the code and then use that fork in your flutter project.
@sawankumarbundelkhandi Oh, it seems to be fixed in the new update(version 1.1.3). Thank you very much. <3
@sawankumarbundelkhandi It works fine after the update. Thank you very much for a successful package :)
@rsanjuan87 @hieudc110501 can you please also check and confirm? I will close the issue then.
still flash option is not working any fix ?
@sawankumarbundelkhandi is issue still not resolved