-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on starscream in favor of URLSession #3289
Comments
I second this request, for a minor reason:
At a minimum, perhaps it could be updated to the latest version of |
Hi @pokryfka and @jgale , we've upgraded to Starscream 4.0.4 and it removes
This is true regardless of which plugins are used and is due to the Amplify library being a monorepo. I believe this can be fixed in the future if we move the API plugin (the only plugin that uses this package) to its own repo, and is impacting customers which aren't using DataStore/API at all, and still have to pull in the dependency. We're open to this discussion and would like to ask, are there more reasons to migrate off of Starscream or additional details for the consideration to use native websockets directly? |
That is as long as you drop support for iOS12 and earlier. Personally, with iOS16 (beta) to be announced in 1.5 months, I think requiring iOS13 and later is reasonable; |
Any chance to have it done? :-D This is a major change and requires proper testing but the actual code change should be simple as you abstracted WSS client in Other than reducing dependencies, it improves compatibility with other libraries and tools. |
Please note aws-amplify/aws-appsync-realtime-client-ios#90 |
Starting from iOS13
URLSession
supports web sockets.Please consider removing dependency on starscream
The text was updated successfully, but these errors were encountered: