Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1257

Realm + Reanimated v2 w/ JSC causes Realm to not work

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Goals

      Use react-native-reanimated v2 alongside Realm. Reanimated v2 used to require Hermes (and I'm aware RealmJS's Hermes support is still WIP) but v2.2.0+ have added JSC support as well [1.

      Expected Results

      The two to live together happily.

      Actual Results

      In our instance - the app runs fine on iOS but on Android we can save stuff to Realm but reloading it results in objects being undefined. Others have reported app crashes with minimal repros to the renimated project already [2 but I thought I'd report it here too incase it can be fixed from the Realm side.

      Steps to Reproduce

      Install Realm + react-native-reanimated v2.2.0+ in the same app without Hermes - attempt to use Realm on Android.

      Code Sample

      See minimal repro on this ticket: https://github.com/software-mansion/react-native-reanimated/issues/2028

      Version of Realm and Tooling

      • Realm JS SDK Version: 10.4.1
      • Node or React Native: 0.63.4
      • Client OS & Version: Android
      • Which debugger for React Native: N/A

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: