uxcam / react-native-ux-cam

51 stars 10 forks source link

Unable to get URL after Codepush #137

Closed dantonio1401 closed 3 months ago

dantonio1401 commented 3 months ago

Hi I'm wondering if anyone could share any insight on this issue.

I am using uxcam and everything is working fine up until I perform a codepush over the air update which then I am met with an error: Could not retrieve the url for the current session. and nothing else. No sessions are being sent to the uxcam dashboard.

const trackWrapper = (event: string) => {
  RNUxcam.urlForCurrentSession()
    .then((sessionURL) => {
      track(event, {uxcam_session_url: sessionURL});
    })
    .catch((e) => captureException(e));
};

Has anyone encountered this issue?

dantonio1401 commented 3 months ago

Actually after some additional digging I found the issue here was more so user error. I'm closing this.