-
Type: Bug
-
Resolution: Gone away
-
Priority: Minor - P4
-
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
- Create empty Azure Function project with .NET Core
- Add Realm package, add await User.LoginAsync call
- Deploy to Azure (Windows based App Service)
- 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