uxcam / react-native-ux-cam

51 stars 10 forks source link

Is it possible to use this library without Expo EAS builds? #91

Closed ghmendonca closed 1 year ago

ghmendonca commented 1 year ago

Right now I'm not using Expo EAS builds, I'm using Expo Go for development, and expo updates to publish changes. I wonder if it's possible to use UXCam without having to use EAS build.

I've tried adding the config to my app, but I always get the error:

TypeError: Cannot read property 'startWithConfiguration' of null

And my config:

RNUxcam.optIntoSchematicRecordings();
const configuration = {
  userAppKey: process.env.UXCAM_APP_KEY,
  enableAutomaticScreenNameTagging: false,
  enableImprovedScreenCapture: true,
};
RNUxcam.startWithConfiguration(configuration);
gabrieluxcam commented 1 year ago

Hello @ghmendonca unfortunately it is not currently possible as Expo does not support native modules, thus you'll need to do so with EAS, here's the reference just in case. Thanks!