GitToTheHub commented on issue #1091:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/1091#issuecomment-3936389846

   I created a fresh Cordova app with the master branch and it worked.
   
   Please do the following steps:
   
   ```bash
   cordova create inappbrowser-test
   cd inappbrowser-test
   cordova platform add ios
   cordova plugin add https://github.com/apache/cordova-plugin-inappbrowser
   ```
   
   Edit `inappbrowser-test/www/js/index.js`:
   
   ```js
   function onDeviceReady() {
       // Cordova is now initialized. Have fun!
       console.log('Running cordova-' + cordova.platformId + '@' + 
cordova.version);
       document.getElementById('deviceready').classList.add('ready');
       
       var ref = cordova.InAppBrowser.open("https://www.google.com";, "_blank");
   }
   ```
   
   Run the app in XCode. This should open `www.google.com`.
   
   I tested this in XCode 26.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to