Skip to content

Conversation

@bigearsenal
Copy link

Add instruction for implementing flutter app that uses Swift as iOS development language

Add instruction for implementing flutter app that uses Swift as iOS development language
@projectxr
Copy link

Thanks a ton man!
You can add option .mutableContainers to the serializer because it threw an error without that.
-- JSONSerialization.jsonObject(with: data!, options: .mutableContainers ) as? NSMutableDictionary

Second for parity with android code (it sends an array on ios) you can change Line 189 in SocketIO.m to [listener call:data[0]]; as a quick fix.

//pc

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