You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/29 14:36:07 UTC

[GitHub] [cordova-plugin-inappbrowser] coleweusthem opened a new issue #909: Browser won't open on android.

coleweusthem opened a new issue #909:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/909


   # Bug Report
   
   ## Problem
   In App browser not work on Android. No errors. Does work on iOS
   
   ### What is expected to happen?
   Calling cordova.InAppBrowser.open should open the browser, but nothing happens. This works as expects on iOS.
   
   
   ### What does actually happen?
   Nothing, no errors, the browser just doesn't open.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   We are using ionic-v1 and cordova android 9.1.0
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   We are using ionic-v1 and cordova android 9.1.0
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   We are using 
   ionic-v1
   cordova android 9.1.0
   cordova CLI 10.0.0
   
   Plugins:
   cordova-plugin-badge 0.8.8 "Badge"
   cordova-plugin-device 2.0.2 "Device"
   cordova-plugin-globalization 1.11.0 "Globalization"
   cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin"
   cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
   cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
   cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
   cordova-plugin-splashscreen 5.0.2 "Splashscreen"
   cordova-plugin-statusbar 2.4.3 "StatusBar"
   cordova-plugin-whitelist 1.3.3 "Whitelist"
   ionic-plugin-keyboard 2.2.1 "Keyboard"
   org.apache.cordova.plugin.cache 1.0.5 "Clear Cache"
   
   mac OSX 11.5.2
   
   Android Studio 3.5.2
   Build #AI-191.8026.42.35.5977832, built on October 30, 2019
   JRE: 1.8.0_202-release-1483-b49-5587405 x86_64
   JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
   macOS 10.16
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ x ] I included all the necessary information above
   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] admiralato commented on issue #909: Browser won't open on android.

Posted by GitBox <gi...@apache.org>.
admiralato commented on issue #909:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/909#issuecomment-1034838086


   Hi I am having the same issue
   
   same android version.
   
   Works fine in iOS


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] robsierra commented on issue #909: Browser won't open on android.

Posted by GitBox <gi...@apache.org>.
robsierra commented on issue #909:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/909#issuecomment-1026154613


   I am having the same issue, same version of cordova-plugin-inappbrowser, also works on iOS but not Android.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] admiralato commented on issue #909: Browser won't open on android.

Posted by GitBox <gi...@apache.org>.
admiralato commented on issue #909:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/909#issuecomment-1035934020


   @robsierra thanks ! but i managed to get it working by doing 
   
   var ref = cordova.InAppBrowser.open(url, ‘_blank’, ‘location=yes’);
   
   Passing an object as third param doesn’t work on Android, but works fine in iOS.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] robsierra commented on issue #909: Browser won't open on android.

Posted by GitBox <gi...@apache.org>.
robsierra commented on issue #909:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/909#issuecomment-1035143998


   @admiralato we fixed the issue by creating a new InAppBrowserObject instead of using cordova.InAppBrowser.Open(), like so:
   
   const browser = new InAppBrowserObject(
         'https://yoururl.com/',
         '_blank',
         'location=yes'
       );
   browser.show();


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org