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

JWT connection impossible when react-native-debugger is open

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • JS-10.0.0
    • Affects Version/s: None
    • Component/s: None

      Goals

      Use react-native-debugger a app which uses Realm.

      Expected Results

      The app should connect successfully to Realm when RN debugger is open and debug is enabled.

      (considering the application is able to connect to Realm when RN debugger is closed)

      Actual Results

      > TypeError: _realm.default.Credentials.jwt is not a function

      Please note that this warning does not occur when the debugger is closed.

      Steps to Reproduce

      <!--- What are steps we can follow to reproduce this issue? -->

      Code Sample

        const credentials = Realm.Credentials.jwt(jwt)
        const user: Realm.User = await realmApp.logIn(credentials)
      

      Version of Realm and Tooling

            Assignee:
            kenneth.geisshirt@mongodb.com Kenneth Geisshirt (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: