davidstump / SwiftPhoenixClient

Connect your Phoenix and iOS applications through WebSockets!
MIT License
506 stars 146 forks source link

switched the foreground observation for the more reliable didBecomeAc… #211

Closed morgz closed 2 years ago

morgz commented 2 years ago

In my testing I've found the foreground observation doesn't work when you:

See this forum post for more detail. I've switched to UIApplication.didBecomeActiveNotification which I found much more reliable.

dsrees commented 2 years ago

Thanks 👍🏼