gill367 commented on issue #944: URL: https://github.com/apache/cordova-ios/issues/944#issuecomment-687650716
> > > ``` > > > <preference name="scheme" value="http" /> > > > <preference name="hostname" value="192.168.47.105" /> > > > ``` > > > > > > How does the scheme 'http' work for you. When I put it in config.xml. it uses the default app scheme instead. > > `http` is a [reserved scheme](https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app) on iOS. Which is why it defaults to the `app://` scheme, the cordova default. and If I use a custom scheme like app:// dummy cookie injection does not work for me. So all subsequent xhr request using session cookies are receiving 401. Anybody is able to use cookie injection with app custom scheme? ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
