Hello All! I was wondering if anyone managed to u...
# support
p
Hello All! I was wondering if anyone managed to use rudderstack react native sdk in expo?
c
Yes, it’s possible to use Rudderstack React Native SDK in Expo. Have you tried it yet?
p
We managed to get Rudderstack react native SDK working , but we only can run it if we built the app. Is it possible to run Rudderstack React Native SDK through Expo Go app? • If we
import rudderClient from "@rudderstack/rudder-sdk-react-native"
and ran it through Expo Go, it will give
failed to load rudderlabs native module
Any advice on how to run Rudderstack SDK locally in development environment
c
I guess your React-Native project doesn’t contain: `android`/
iOS
folder. Make sure you have that folder as shown in the screenshot then you’ll not face the error. Command to create such project is:
Copy code
expo init FirstProject
and select last option:
Copy code
minimal             bare and minimal, just the essentials to get you started
Then run the app using:
Copy code
npm run android
d
Hello @purple-motorcycle-5125, Do you mind sharing how you managed to install the rudder stack sdk on your expo App? I’ve haven’t been able to do so: https://rudderstack.slack.com/archives/C01E4PLB135/p1700769961052349 Maybe you could share your
app.config
?