NativeScript / mlkit

Apache License 2.0
24 stars 9 forks source link

Torch activation not working on IOS #8

Closed cjohn001 closed 2 years ago

cjohn001 commented 2 years ago

@triniwiz: I found some time to play with the new sources. I unfortunately were not able to get a couple of things working.

The torch on IOS is not activating. I am not sure if I use the interface right.

https://github.com/cjohn001/mlkit-test/blob/64b3d5d4ce843daa9cef92ee751c5d1b70edcd96/src/app/item/items.component.ts#L48

I provided a demo app showing the issues I will be providing here.

You find it at:

https://github.com/cjohn001/mlkit-test

The package.json includes the mlkit sources with a relative path. Just copy the demo next to your mlkit sources and you are set.

Expected result: Pressing the toggle torch button should activate the torch. Result: No effect can be observed