-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Feature: Flashlight option (iOS)? #36
Comments
+1 |
+1 |
+1 (until then, I'll use https://github.com/tjwoon/csZBar) |
+1 |
1 similar comment
+1 |
Landed in 6.0.4 on both iOS and Android. Just pass in |
"Landed in 6.0.4 on both iOS and Android. Just pass in showTorchButton : true as an option of the scan function." This don't work anymore 👎 |
@douglasevaristo Instead of the 😕 and 👎 can you please share what platform you're using, what problem you have exactly, how you're using the plugin, and how you're building it? |
Hi. I can confirm that the torch button is not showing up. Flip button does show up. |
ionic view is an app that might not have latest version of the plugin, run your app instead of using ionic view |
This thread has been automatically locked. |
I've had some luck flicking the flashlight on in JS before launching the barcode scanner, and I've seen great results, is there a way we can add a button on the bottom left side to toggle the flashlight on/off from native code?
Looks like adding in functions from @EddyVerbruggen 's file would do the trick:
https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin/blob/master/src/ios/Flashlight.m
The text was updated successfully, but these errors were encountered: