Barcode scanner as a part of page Ionic 3

I want to have a barcode scanner section in lower half of my ionic page, currently there is a button on click of which barcode scanner UI comes up. I dont want to go another screen and get a callback. Any suggestions?