-
Notifications
You must be signed in to change notification settings - Fork 3
Description
First off, thank you so much for making this wrapper! This seems to be the only wrapper for React Native and the iOS flashlight! :)
My question/request:
Would it be possible to build in an intensity value with this wrapper that can be passed in optionally? I'm not 100% sure about Android, but I know iOS supports setting an intensity value with the flashlight, it would be amazing if you could build this into this wrapper (even if it only actually worked on iOS).
Some resources that may help with how this could be done?
- https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin (I saw this Phonegap library has an
intensitysetting for their iOS/Droid Phonegap wrapper) - https://stackoverflow.com/questions/34497357/changing-iphone-flashlight-intensity-over-time-swift (someone asking how to change the
intensitywith Swift)
I'd be happy to add this feature in and PR it into this repo if you could maybe point me in the right direction on how to do this, if you don't have time (which I totally understand)!
Thanks so much, hope this is something that can be added with not too much effort!