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

Is there any way to inject Realm to mobile nodejs v8 environment?

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      We currently do a project that running a nodejs mobile version in android and ios, and we found that in mobile can only access by react-native, if we running a nodejs in mobile how to inject Realm to nodejs environment?

      I mean using the library like this https://github.com/JaneaSystems/nodejs-mobile
      and still have react-native version https://github.com/JaneaSystems/nodejs-mobile-react-native
      but what I want is compile realm-js to the realm.node for mobile

      Currently jsc have been override nodejs using v8 maybe some way can override v8 to nodejs, I think they are all in same thread, if library load in one place

      Goals
      Make realm object can be access in nodejs mobile environment

      Expected Results
      nodejs-mobile can access realm object

      Actual Results
      Realm object undefined

      Version of Realm and Tooling
      Realm JS SDK Version: 10.4.0
      Node or React Native: v12.19.0
      Client OS & Version: android, ios
      Which debugger for React Native: ?/None

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

              Created:
              Updated: