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

Realm Cloud doesn't work in Azure Function due to missing 'realm-wrappers' dll

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • Q3-22FY
    • Affects Version/s: None
    • Component/s: None

      Goals

      Deploy Azure Function with Realm package to access shared realm.

      Expected Results

      Azure function works, no exceptions.

      Actual Results

      The type initializer for 'Realms.Sync.SharedRealmHandleExtensions' threw an exception.
      Inner exception states that 'realm-wrappers.dll' is not found.

      Steps to Reproduce

      1. Create empty Azure Function project with .NET Core
      2. Add Realm package, add await User.LoginAsync call
      3. Deploy to Azure (Windows based App Service)
      4. Run function in Azure

      Code Sample

      See https://github.com/pfedotovsky/RealmAzureFunction

      Version of Realm and Tooling

      • Realm Object Server Version: Realm Cloud
      • Realm 4.2.0

            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: