Workaround for loading Realm on iOS
- Dominant language
- C#
- Stars
- 0
- Forks
- 1
- Avg merge
- 1d 32m
- Merged PRs (30d)
- 15
Description
.NET 10 introduced a [breaking change](https://learn.microsoft.com/en-us/dotnet/core/compatibility/interop/10.0/native-library-search) that affects how DLLs are loaded—which broke how the Realm library gets loaded on iOS.
I've applied a workaround fix based on https://github.com/realm/realm-dotnet/issues/3711#issuecomment-3691192652 in [iOS/Program.cs](https://github.com/bcgov/visitz-app/blob/ce9e2f899a7869235c2140fb74d8c7070cf4b486/visitz/Visitz/Platforms/iOS/Program.cs).
This issue is to keep track of this workaround so we can remove it once https://github.com/realm/realm-dotnet/pull/3721 is merged and released.
Contributor guide
Research direction
Start with iOS/Program.cs and review the workaround described in the issue. Check whether Realm PR 3721 has been merged and released, then remove the workaround when the released version makes it unnecessary. Confirm the iOS project still loads Realm successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100