Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

not working on iOS #42

Closed
hafizalfaza opened this issue Apr 9, 2018 · 1 comment
Closed

not working on iOS #42

hafizalfaza opened this issue Apr 9, 2018 · 1 comment

Comments

@hafizalfaza
Copy link

this plugin works well on Android but when I tried to implement it on iOS, it didn't work. No error report on the console but apparently the socket is not connected because I put console.log() inside the on 'connect' callback and nothing prints out. I also put console.log() inside the new message listener and when I send a new message I also get nothing on the console. Anyone else ran into this issue and solved this? I really need help. thanks

@hafizalfaza
Copy link
Author

it turned out the issue appeared because my socket URL is not secure (http instead of https). Setting app transport system with allow arbitrary loads solved this.

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

No branches or pull requests

1 participant