microsoft / clarity-apps

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

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

Closed Nxtra closed 1 year ago

Nxtra commented 1 year 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 1 year ago

Hi @Nxtra,

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

markymc commented 1 year 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 1 year ago

Hi @markymc,

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