Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229591

InAppBrowser does not go back to the previous state of my app

$
0
0

I am using InAppBrowser in my app to open a link in the system browser. It is working fine. But, when i close the browser using the backbutton, i could not go to my previous state of the app. I need to simply close the browser.

import {InAppBrowser} from "@ionic-native/in-app-browser";
@IonicPage()
@Component({
  selector: 'page-update-progress-note',
  templateUrl: 'update-progress-note.html',
})
export class UpdateProgressNotePage {

constructor(private iab: InAppBrowser){}

  private GotoLink = (url): void => {
    this.iab.create(url, '_system', 'location=yes, hardwareback=no');
  };
}

How can i simply close the browser when using close button of the browser or using the back button?


Viewing all articles
Browse latest Browse all 229591

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>