still its giving
ERROR ReferenceError: cordova is not defined
still its giving
ERROR ReferenceError: cordova is not defined
import { InAppBrowser } from â@ionic-native/in-app-browserâ;
declare var cordova: any;
public payudetails()
{
var ref = cordova.InAppBrowser.open(this.url, â_selfâ, âlocation=yesâ);
}
Inside function im using INappbrowser to open new url ?
I need open new external url and closing
please help me
import { InAppBrowser } from â@ionic-native/in-app-browserâ;
Export class yourClass{
constructor(public iab: InAppBrowser){}
payudetails(){
this.InAppBrowser.open(this.url, â_selfâ, âlocation=yesâ);
}
}
Hi getting same
import { InAppBrowser } from â@ionic-native/in-app-browserâ;
constructor(public iab: InAppBrowser){}
[ts] Property âInAppBrowserâ does not exist on type âCheckoutCarPageâ.
now i am able to open browser using window.open
after user closed means it has to redirect to some page
how i can do that ?
have you done any payment gateway integration process for ionic 2 ?
oops, should have been:
this.iab.open(this.url, â_selfâ, âlocation=yesâ);
no, havenât done sth like this. I use the iab to get Login Cookies.