Skip to content
Discussion options

You must be logged in to vote

WebSockets ought to work, but they aren't enabled in libcurl for the Swift SDK for Android. This is reported at #559. Hopefully it will be a simple matter of turning on the flag (see swift-android-sdk/swift-docker#17), but we'll need to get it into the next version's SDK build, so it might be a little while.

In the interim, you might look into using swift-nio's WebSockets support (https://github.com/apple/swift-nio?tab=readme-ov-file#low-level-protocol-implementations), which may work.

Also, if you are using any transpiled Skip Lite libraries alongside Skip Fuse, note that our transpiled URLSessionWebSocketTask does work there (see #106 (comment)), and bridges to Android's native websocke…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@marcprux
Comment options

Answer selected by marcprux
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants