barakataboujreich commented on issue #944:
URL: https://github.com/apache/cordova-ios/issues/944#issuecomment-662359748
i'm sorry, i do not know what is not working on your end.
my testing environment is:
Iphone X
IOS 13.5.1
Back end:
.Net 4.5
my problem was:
cookies not being received on the server, which caused the back end to
refuse the signal R connection.
solution that worked for me was this plugin.
how i solved it:
on deviceready event
i added the following:
```
wkWebView.injectCookie("http://192.168.47.105:55554/WebService.asmx");
wkWebView.injectCookie("http://192.168.47.105:55554/signalr");
```
and config.xml:
```
<preference name="scheme" value="http" />
<preference name="hostname" value="192.168.47.105" />
```
after that our server was able to access cookies and signal R connection was
successful.
and from safari, went to the network tab and monitored every xhrhttprequest
and was sending cookies to the server, and server was able to access those
cookies.
----------------------------------------------------------------
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]