Im using Ionic 3 Framework and I’m currently trying to have the native barcode scanner open when you click a button on the homepage. It should navigate to the next “page” which will open directly into the barcode scanner and then process the data and go to a 3rd page with that barcode data.
Ive tried implementing this by running .scan
In ionViewWillLoad()
but it still lags onto a plain white page before loading the barcode scanner. Ive implemented a LoadingController that says “Loading Barcode Scanner…” but i’d really like this to happen quicker somehow.
I would just open the scanner from the homepage, but i need to be able to navigate to the ScanPage from different parts of the app.
Any suggestions are appreciated! Thank you very much.