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/03/16 18:42:35 UTC

[GitHub] [cordova-ios] shanlin2dltk opened a new issue #1092: what schema and hostname should be set in config.xml

shanlin2dltk opened a new issue #1092:
URL: https://github.com/apache/cordova-ios/issues/1092


   From version 6.0.0 instruction, it says to set the following in config.xml
   `<preference name="scheme" value="app" />
   <preference name="hostname" value="localhost" />`
   
   I cannot find any post to explain under what circumstances "app" and "localhost" should be changed, and to what values.  Can someone shed some lights?  Thanks!


----------------------------------------------------------------
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-ios] breautek edited a comment on issue #1092: what schema and hostname should be set in config.xml

Posted by GitBox <gi...@apache.org>.
breautek edited a comment on issue #1092:
URL: https://github.com/apache/cordova-ios/issues/1092#issuecomment-800516182


   It's up to you. It just simply controls the origin point of the app, e.g: `<scheme>://<hostname>`
   
   The only limitation is iOS won't allow you to use well known schemes, so you can't set `scheme` preference to existing protocols, like `http` or `https`, etc.


----------------------------------------------------------------
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-ios] breautek commented on issue #1092: what schema and hostname should be set in config.xml

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1092:
URL: https://github.com/apache/cordova-ios/issues/1092#issuecomment-800516182


   It's up to you. It just simply controls the origin point of the app, e.g: ``<scheme>://<hostname>`
   
   The only limitation is iOS won't allow you to use well known schemes, so you can't set `scheme` preference to existing protocols, like `http` or `https`, etc.


----------------------------------------------------------------
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-ios] breautek closed issue #1092: what schema and hostname should be set in config.xml

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1092:
URL: https://github.com/apache/cordova-ios/issues/1092


   


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