Enable initialization on 32bit android devices

This commit is contained in:
Ugljesa Jovanovic committed 2022-05-19 16:52:27 +02:00
1 parent 87652f7014
commit 6a47f7d90b
3 files changed
+5 -9

No files matched your search

+3 -2
View File
@@ -2,8 +2,9 @@
(All dates are DD.MM.YYYY)
#### 0.8.6-SNAPSHOT
- Bump to 1.6.20-RC2
- Fix for #23
- Bump to 1.6.21
- Enable initialization on 32bit Android devices
- Fix for #23 JS libsodium won't initalize
- API change chacha20IetfXorIc now takes UInt initial counter parameter
#### 0.8.5 - 5.3.2022
+1 -1
View File
@@ -16,7 +16,7 @@
object Versions {
val kotlinCoroutines = "1.6.0-native-mt"
val kotlin = "1.6.20-RC2"
val kotlin = "1.6.21"
val kotlinSerialization = "1.3.2"
val kotlinSerializationPlugin = kotlin
val atomicfu = "0.14.3-M2-2-SNAPSHOT" //NOTE: my linux arm32 and arm64 build
@@ -29,12 +29,7 @@ actual object LibsodiumInitializer {
SharedLibraryLoader.get().load("dynamic-msvc-x86-64-libsodium.dll", JnaLibsodiumInterface::class.java)
}
Platform.isAndroid() -> {
when {
Platform.is64Bit() -> {
File("irrelevant")
}
else -> throw RuntimeException("Unsupported platform")
}
File("irrelevant")
}
else -> throw RuntimeException("Unknown platform")