-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAUI/Android/iOS support #7
Comments
Glad you like the library. Support for Android/iOS would be very nice, but I unfortunately don't have any experience with either, and the libsodium NuGet doesn't provide pre-compiled binaries for them. You should be able to use a build script from here, but I'm not sure if anything else needs to be done. |
@stevehansen Have you had any luck? |
@samuel-lucas6 https://stackoverflow.com/a/56297065/295296 found some instructions here, about building the libsodium.so in and embedding them, I tried some of it last week but didn't succeed yet (instruction for Xamarin, not completely compatible with MAUI). I'll see if I can make another attempt this week. |
Looking at the swift-sodium Clibsodium.xcframework Or perhaps there is a way to link repos and include a compilation pre-build step in the .csproj. Though this seems prone to failure in case a backwards-incompatible change is introduced in libsodium. |
Ok it seems I need to implement a change NSec did for iOS support. |
Bumping this thread as I, too, would like to run on Android. Were @Jack-Edwards or @stevehansen able to find an alternate solution? |
I've opened a discussion in the libsodium repo. Assuming progress is made there, the issue becomes how to implement support here if any changes are required and how to test that it works. |
Seems like the new NuGet package supports win-arm64 and ios-arm64 but still not Android. |
Love that this targets .NET 6/7 but it seems when trying to use this on Android it just fails to load:
What do I need to do to get this working on Android?
The text was updated successfully, but these errors were encountered: