pusher / pusher-websocket-react-native

React Native official Pusher SDK
MIT License
61 stars 52 forks source link

Forced Closing on when opening app on React Native Ios. #148

Closed billoneillighttiger closed 6 months ago

billoneillighttiger commented 6 months ago

After I add the package and when initializing the pusher(pusher.init()) with config on ios17, then app is closed. React Native version is 0.72.7. Once I remove the pusher.init method, the app works well. Of course, the app works without Pusher feature.

benw-pusher commented 6 months ago

Can you share any error messages or logs that you have from the crash, along with the init method (please obscure your app key first)

billoneillighttiger commented 6 months ago

Oops, sorry, I found the cause that I have entered app id (integer) into the apiKey(string) of pusher.init. I have found that from Xcode debug. Thanks.