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

[React native] Decryption failed on real ios device

      How frequently does the bug occur?

      Always

      Description

      I got decryption failed on real ios device but it works perfectly on others like ios simulator, android, realm studio. I don't know why

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Error: Failed to open Realm file at path '/var/mobile/Containers/Data/Application/8D449C47-2A27-486C-A9B6-B088C9D8B126/Documents/bundle.realm': Realm file decryption failed (Decryption failed)
      
      This error is located at:
          in Unknown (created by App)
          in ThemeProvider (created by App)
          in RNCSafeAreaProvider (created by SafeAreaProvider)
          in SafeAreaProvider (created by App)
          in RecoilRoot_INTERNAL (created by RecoilRoot)
          in RecoilRoot (created by App)
          in RCTView (created by View)
          in View (created by GestureHandlerRootView)
          in GestureHandlerRootView (created by App)
          in App
          in RCTView (created by View)
          in View (created by AppContainer)
          in RCTView (created by View)
          in View (created by AppContainer)
          in AppContainer
          in apptest(RootComponent), js engine: hermes
      

      Can you reproduce the bug?

      Always

      Reproduction Steps

      No response

      Version

      >=12.2.1

      What services are you using?

      Local Database only

      Are you using encryption?

      Yes

      Platform OS and version(s)

      17.2.1

      Build environment

      Which debugger for React Native: ..

      Cocoapods version

      ~> 1.13

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

              Created:
              Updated:
              Resolved: