Skip to content
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

value of type 'any WebSocketClient' has no member 'url' #127

Open
nicefella opened this issue May 9, 2024 · 1 comment
Open

value of type 'any WebSocketClient' has no member 'url' #127

nicefella opened this issue May 9, 2024 · 1 comment

Comments

@nicefella
Copy link

Hi, i received the following error during compiling when i try to run my app.

I think it may be related to StarScream version. But I am not sure how to fix this by myself.

`
❌ (node_modules/@mattermost/react-native-network-client/ios/WebSocketClient.swift:204:32)

202 | func didReceive(event: WebSocketEvent, client: Starscream.WebSocketClient) {
203 |

204 | guard let url = client.url() else { return }
| ^ value of type 'any WebSocketClient' has no member 'url'
205 |
206 | switch event {
207 | case .connected(let headers):
`

@enahum
Copy link
Contributor

enahum commented May 10, 2024

Right.. in fact in our app we are using a specific commit in our Starscream fork see this https://github.com/mattermost/mattermost-mobile/blob/main/ios/Podfile#L60

Now, what would be awesome is to keep the same functionality but go back to upstream Starscream.. not sure if possible though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants