Trying to add flashlight to ionic react project for a barcode scanner app, could not find any documentation whatsoever on implementing it in ionic react. Any links to sites with how to solve this would be great. The only documentation I can find is about using it in ionic angular Tried using cordova flashlight plugin but its not working requires angular/core
Asked
Active
Viewed 92 times
2 Answers
1
had to install rjxs and ionic/core for it to work

Zayne komichi
- 408
- 4
- 11
-
Was it generating an error ? – mahen23 Oct 28 '21 at 13:03
-
yes at first it was looking for the ionic/core module, installed that got another error, showed that rxjs was missing installed it. Now its working – Zayne komichi Oct 28 '21 at 13:16
0
-
Hi, thanks for the link, unfortunately its the same issue, they havent documented it for ionic react – Zayne komichi Oct 28 '21 at 11:56