Skip to content

Conversation

@lukabratos
Copy link
Contributor

Description of the pull request

Fix warnings in the SDK.

Why is the change necessary?

To keep project well maintained ✨


CC @pusher/mobile

Luka Bratos added 2 commits November 17, 2017 14:41
Using `characters` is not needed anymore in Swift 4.0
Use requestFor(socketID: String, channelName: String) -> URLRequest? instead
Copy link
Contributor

@hamchapman hamchapman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to avoid the auth request builder change for now, but the characters one is good to go 👍

return true
case .authRequestBuilder(authRequestBuilder: let builder):
if let request = builder.requestFor?(socketID: socketId, channel: channel) {
if let request = builder.requestFor?(socketID: socketId, channelName: channel.name) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be changed yet. I should have removed it with the release 5.0.0 but I forgot to do so. So now we need to wait until 6.0.0. See here: https://github.com/pusher/pusher-websocket-swift/blob/master/Sources/AuthRequestBuilderProtocol.swift#L5

@lukabratos lukabratos merged commit ff1ee6a into master Nov 20, 2017
@lukabratos lukabratos deleted the fix-warnings branch November 20, 2017 11:46
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

Successfully merging this pull request may close these issues.

3 participants