I don’t see the log when I tap on the links.
Maybe it’s because the link is a simple a href=‘’. I tried to assign my custom method to window.location.assign but it’s giving me an error saying that location is read only. I also tried to add target=‘_blank’ to every link but it still opens them in the external browser.
Corrected the error, created a blank test application, installed the plugin and updated the typescript. The problem now is that the page only opens in the device browser, it does not open in the application. I’ve tested all the targets and it’s the result same thing. Where is the error?
I am having a similar issue @lidymonteiro - in app browser is not opening, but only opening the URL in the device browser. When I run through Xcode, it gives me the following output: “Tried to show IAB after it was closed.”
The truth was I worked but it was damaged in other ionic interactions, I had to upgrade to the latest stable version of ionic and cordova if I did not have something updated.
In my case, I have to open OneDrive and Outlook from InAppBrowser.
If I open above inside iFrame then it will not get open in mobile because of security reason.
/Plugins/org.apache.cordova.inappbrowser/CDVInAppBrowser.h:23:9: fatal error: 'Cordova/CDVWebViewDelegate.h' file not found
#import <Cordova/CDVWebViewDelegate.h>
Hey guy, I have the same problem, Did you fix it? In my case in IOS it just opens a new system browser, not an inappbrowser and on Android once I press the back button on the page, I will just show a white page or It goes back to the home page.
I read a lot about and many people said that It worked before. What’s going in on? Did is It broken through some ionic update?
Can’t get it to work It’s stil opening in the system browser. Getting this error: Cannot use ‘new’ with an expression whose type lacks a call or construct signature.
I tried using an Angular HostListener to capture all click events and then pass through to inAppBrowser. I had to create some interfaces to extend EventTarget to capture the href of the anchor.