Add support for @pusher/pusher-websocket-react-native
closed
Tim Rüdenauer
I want to use the pusher SDK
@pusher/pusher-websocket-react-native
as the React Native support for pusher-js
is deprecated and soon will be dropped: https://github.com/pusher/pusher-js#react-nativeThe recommended package requires to run
pod install
after installation to use on iOS.To do this I have to eject the project from Expo. But I'd like to keep the features that Expo provides.
Could you please add support for the new React Native SDK from Pusher?
I'm sure there are many apps out there that are using the realtime websocket feature that Pusher provides and this would be needed by many of your customers!
Thanks in advance!
Photo Viewer
View photos in a modal

Brent Vatne
updated the status to
closed
you can do this already with development builds: https://docs.expo.dev/workflow/customizing/
Wodin
You are in luck! You don't need to eject. The EAS Build servers automatically run
pod install
when you run eas build -p ios ...
.As far as I can see from the installation instructions, you do not need to make any changes to the native iOS or Android projects. If you did, you would need a config plugin to make those changes during the build process.
This looks like it will work out of the box, as long as you build with
eas build
. It will not work with Expo Go, but you can build a development client to use instead of Expo Go.Tim Rüdenauer
Wodin: Hi Michael, thanks so much for the explanation!
I'm coming from web development and I'm new to the whole native development field. And although the documentations on Expo and React Native are both very good, sometimes it's not clear what to do next as a beginner.
But your short comment here pretty much cleared it all up! :)
Will try later