microsoft / clarity-apps

Repo for distributing Clarity Apps packages
MIT License
37 stars 2 forks source link

New build required with Expo & react-native-clarity ? #19

Closed Nxtra closed 8 months ago

Nxtra commented 8 months ago

I have a react native app with expo.

When I follow the react native procedure to install clarity for my Expo app, will I need to do a new app bundle / new eas build?

Or is this lib JS only and can I ship it with Expo.Update (without going through the stores)

ibradwan commented 8 months ago

Hi @Nxtra,

The Clarity plugin depends on native code to run. Therefore, you have to create a new build.

markymc commented 8 months ago

@ibradwan I just installed Clarity in my Expo app and it wasn't clear to me what's needed for Expo. I had to dig into the code to check if I needed any binary updates. I'd suggest you update the contents of https://www.npmjs.com/package/react-native-clarity?activeTab=readme to make it more clear what's needed for Expo users (as I suspect they're a large percentage of your target users).

ibradwan commented 8 months ago

Hi @markymc,

Thanks for your recommendation. We can definitely add this requirement to our docs page as well as the package readme file.