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 2020/07/01 10:34:08 UTC

[GitHub] [cordova-plugin-inappbrowser] edbusquets opened a new issue #745: The beforeload: 'get' breaks the mailtos on Android and Ios

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


   # Bug Report
   
   ## Problem
   
   The option beforeLoad = get in the creation of the inAppBrowser makes it impossible to open mailtos.
   
   ### What is expected to happen?
   
   Open the mailto
   
   ### What does actually happen?
   
   Nothing, fails and doesnt open the mailto.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   I have created a clean application with ionic where the error can be reproduced.
   https://github.com/edbusquets/test-mailto-in-app-browser
   
   You can see the difference between the options.
   And if you first open an inAppBrowser with beforeLoad = get and then one without beforeLoad this second won't work either.
   
   `  public openWithCordovaBrowserBlank(url: string) {
       let target = '_blank';
       this.iabs.create(url, target, {
         location: 'no',
         hidenavigationbuttons: 'yes',
         closebuttoncaption: 'Cancelar',
         beforeload: 'get'
       });
     }`
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Android and Ios
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   
   
   Cordova CLI       : 9.0.0
   "@ionic-native/in-app-browser": "5.27.0",
   cordova-plugin-inappbrowser: 4.0.0
   -->
   
   
   
   ## 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.

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] cravennathan commented on issue #745: The beforeload: 'get' breaks the mailtos on Android and Ios

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


   I'm having a similar issue, it seems like for some reason `http://` is being prepended to the mailto: link and this is causing the failure. 


-- 
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.

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] cravennathan edited a comment on issue #745: The beforeload: 'get' breaks the mailtos on Android and Ios

Posted by GitBox <gi...@apache.org>.
cravennathan edited a comment on issue #745:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/745#issuecomment-858724438


   I'm having a similar issue, it seems like for some reason `http://` is randomly being prepended to the mailto: link and this is causing the failure. 


-- 
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.

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