So i’m trying to display a website inside of a tabbed view app that i created using ionic creator.
When i launch the app i get all the tabbed views. Through a combination of google and youtube videos, i was able start displaying the website but when this happens i am no longer in the tabbed view, the app launches and it goes straight to the website.
This is the code that i used
export class HomePage implements OnInit {
// this tells the tabs component which Pages
// should be each tab’s root Page
url: string;
constructor(public navCtrl: NavController, private inAppBrowser: InAppBrowser){}ngOnInit() {
const options:InAppBrowserOptions =
{
zoom :'no',
location : 'no',
toolbar : 'no'
}
const browser = this.inAppBrowser.create("http://www.skyvertstudios.com/yaadi", '_self', options);
}
So i thought i did something wrong and i remove all those lines and the tabbed view comesback up perfect.
Does anyone know a solution to this problem?