-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Hi, we are developing a cordova app which has to use a Websocket Service deployed by a 3rd part on cloud, this service for security reason is checking the origin header.
Using native WebSockets on Android 4.4 in WebView is setting always the origin header "file://".
We didn't found until now any solution to remove this header on android.
But we found your cordova plugin where we can set the header and remove them, this is working because you are using jettys WebsocketClient instead of native Websockts, but as you write on your readme from 4.4 this plugin is not used anymore.
So I would like to aks you two things:
- Do you have more experience using WebSockets and Cordova plugins, do you think there is a way to remove this header with a cordova plugin, for example intercepting the request from SystemWebView and remove the origin or something else?
- If first does not work, do you thinkg we can use your plugin also on KitKat until Android 7.x.x
Thx a lot for your help and time
Metadata
Metadata
Assignees
Labels
No labels