NativeScript / mlkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Torch activation not working on IOS

cjohn001 opened this issue · comments

@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