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/12/10 09:27:00 UTC

[GitHub] [cordova-android] meablelee2013 edited a comment on issue #991: Cordova net::ERR_INVALID_RESPONSE

meablelee2013 edited a comment on issue #991:
URL: https://github.com/apache/cordova-android/issues/991#issuecomment-742396489


   `I needed to add a few lines of code to the config.xml - these are...
   
    
   
   <access origin="*"/>
   
   <allow-intent href="http://*/*"/>
   
   <allow-intent href="https://*/*"/>
   
   <allow-intent href="tel:*"/>
   
   <allow-intent href="sms:*"/>
   
   <allow-intent href="mailto:*"/>
   
   <allow-intent href="geo:*"/>
   
    
   
   and 
   
   <plugin name="cordova-plugin-whitelist" spec="1.2.0"/>
   
   OR 
   add this to your config.xml
   
     <feature name="Whitelist">
           <param
               name="android-package"
               value="org.apache.cordova.whitelist.WhitelistPlugin" />
       </feature>`


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