Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-587

[Bug]: [Android 8.1] IDictionary can't find existing key

      What happened?

      This problem occurs in Android 8.1 Samsung J7 Prime device. Not occur in emulator Android 10.0 and UWP windows 10.

      Try to access IDictionary providing a key , using dic[key] and receive message Key not present in dictionary, consulting dictionary enumerator and found key.

      I use same realm local encrypted db in this 3 environment.

      Repro steps

      Message error

      IDictionary content

      Version

      Net Standard 2.0

      What SDK flavour are you using?

      Local Database only

      What type of application is this?

      Xamarin

      Client OS and version

      Android 8.1

      Code snippets

      Unable to find source-code formatter for language: csharp. 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
      [Required]
      public IDictionary<string, string> CatGram { get; }
      
      about = realmInstance.All<Dictionar>().FirstOrDefault();
      
      private Dictionar about;
      public Dictionar About
      {
          get { return this.about; }
      }
      

      Stacktrace of the exception/crash you're getting

      No response

      Relevant log output

      No response

            Assignee:
            andrea.catalini@mongodb.com Andrea Catalini (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: