Closed zero-1 closed 3 years ago
Also..
Ionic:
Ionic CLI : 6.12.4
Ionic Framework : @ionic/angular 5.5.3
@angular-devkit/build-angular : 0.1100.7
@angular-devkit/schematics : 11.0.7
@angular/cli : 11.0.7
@ionic/angular-toolkit : 3.0.0
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res (update available: 0.15.3) : 0.6.0
native-run (update available: 1.3.0) : 0.2.8
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.11.3
ios-sim : 8.0.2
NodeJS : v12.16.3
npm : 6.14.9
OS : macOS Catalina
Xcode : Xcode 12.1 Build version 12A7403
beforeload: 'yes'
expects you to listen for beforeload
event and confirm you allow to load the url, or show some error otherwise, your sample app has no listener for that event, so it doesn't load anything nor shows an error.
If you remove beforeload: 'yes',
from the create call it works.
That solved the problem. Thanks.
@zero-1 i have same type issue when using stripe hosted payment page into inappbrowser, can you help what type you added so it solve your issue?
Thanks
Problem
Opening the InAppBrowser with target "_blank" in an Ionic app on iOS is not working. A new window is opened but the target url does not open.
Used the following instructions to install the plugin to the app... https://ionicframework.com/docs/native/in-app-browser/
The symptoms look exactly like https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/551
Issue can be reproduced in the following repo... https://github.com/zero-1/ionic-browser-demo
Tested on iOS simultor, on multiple devices running iOS 13.7 and iOS 14.1 .
Have tried downgrading the version to 4.2.0 and 4.1.3 with no effect.
package.json looks like....
The code to invoke the InAppBrowser ...
Have also tried playing around with "usewkwebview" property in the options with no effect.
There are no visible warnings/errors in the xcode console.