Open benvallack opened 4 years ago
Ah - sorry the issue with the _blank option enabled was the presentationstyle option being set to 'pagesheet' - removing that fixed that. Although _self still doesn't do anything.
I am having the same issue with Capacitor. I have also a fresh install of Capacitor and version 4.0.0 of this plugin. Target _blank is working but target _self is not working in iOS without any error being displayed. On Android however target _self is working.
Same problem in iOS when use target='_self', not open inappbrowser Ionic: Ionic CLI : 6.12.0 Ionic Framework : @ionic/angular 5.3.3 @angular-devkit/build-angular : 0.1000.8 @angular-devkit/schematics : 10.0.8 @angular/cli : 10.0.8 @ionic/angular-toolkit : 2.3.3
Capacitor:
Capacitor CLI : 2.4.1 @capacitor/core : 2.4.1
Utility:
cordova-res : 0.15.1 native-run (update available: 1.2.2) : 1.0.0
System:
NodeJS : v12.16.3 npm : 6.14.8 OS : macOS Catalina
I am having the same issue with Capacitor. I have also a fresh install of Capacitor and version 4.0.0 of this plugin. Target _blank is working but target _self is not working in iOS without any error being displayed. On Android however target _self is working.
The same thing happens to me, did you find a solution?
Have the same problem on ios
Have the same problem with Capacitor 4
Bug Report
When using _self - nothing appears with no errors reported. If I change it to _blank it shows up but leaving a large gap at the top and the whole thing can be swiped down to close it. I'd like to be able to just open it fullscreen without any ability to close it by pulling down.
What is expected to happen?
_self should let the browser replace the current ionic webview if I'm not mistaken.
What does actually happen?
Nothing at all.
Information
Command or Code
Environment, Platform, Device
All current versions of Ionic and plugins from a fresh install last week. Using Angular and Capacitor.
Version information
Ionic:
Ionic CLI : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.2.1 @angular-devkit/build-angular : 0.901.8 @angular-devkit/schematics : 9.1.8 @angular/cli : 9.1.8 @ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 2.2.0 @capacitor/core : 2.2.0
Utility:
cordova-res : not installed native-run (update available: 1.0.0) : 0.2.9
System:
NodeJS : v12.18.0 (/Users/benvallack/.nvm/versions/node/v12.18.0/bin/node) npm : 6.14.4 OS : macOS Catalina
Checklist