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

Adding Subscriptions during development

      What happened?

      I had to uninstall the application to get the subscriptions to refresh when adding another subscription during development.

      Repro steps

      1. Update the RealmService Class GotRealm() from the .NET MAUI Sample project with another subscription query
      2. Try and add new record from the user interface
      3. receive error no subscription found
      4. uninstall the application
      5. rerun the application within visual studio
      6. able to add CRUD

      Version

      10.20.0

      What Atlas Services are you using?

      Atlas Device Sync

      What type of application is this?

      Other

      Client OS and version

      Windows 11

      Code snippets

      PopulateInitialSubscriptions = (realm) =>
      {
      // Item
      var (query, queryName) = GetQueryForSubscriptionType(realm, SubscriptionType.Mine);
      realm.Subscriptions.Add(query, new SubscriptionOptions

      { Name = queryName }

      );

                 [new Subscription here]
      

      ...

      Stacktrace of the exception/crash you're getting

      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
      no subscription found execption
      

      Relevant log output

      No response

            Assignee:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: