Update android target in sample, update README, use macos dylib build on M1
This commit is contained in:
parent
d4e5320a36
commit
594c2bbae3
@ -121,7 +121,7 @@ At the moment you should refer to original libsodium documentation for instructi
|
|||||||
|
|
||||||
## Supported native platforms
|
## Supported native platforms
|
||||||
|
|
||||||
Currently supported native platforms:
|
Currently supported native platforms (Apple Silicon is supported since 0.8.5) :
|
||||||
|
|
||||||
|Platform| Supported |
|
|Platform| Supported |
|
||||||
|--------|------------------|
|
|--------|------------------|
|
||||||
@ -129,14 +129,18 @@ Currently supported native platforms:
|
|||||||
|Linux Arm 64| :heavy_check_mark: |
|
|Linux Arm 64| :heavy_check_mark: |
|
||||||
|Linux Arm 32| :x: |
|
|Linux Arm 32| :x: |
|
||||||
|macOS X86 64| :heavy_check_mark: |
|
|macOS X86 64| :heavy_check_mark: |
|
||||||
|
|macOS Arm 64 (Apple Silicon)| :heavy_check_mark: |
|
||||||
|iOS x86 64 | :heavy_check_mark: |
|
|iOS x86 64 | :heavy_check_mark: |
|
||||||
|iOS Arm 64 | :heavy_check_mark: |
|
|iOS Arm 64 | :heavy_check_mark: |
|
||||||
|iOS Arm 32 | :heavy_check_mark: |
|
|iOS Arm 32 | :heavy_check_mark: |
|
||||||
|
|iOS Simulator Arm 64 (Apple Silicon)| :heavy_check_mark: |
|
||||||
|watchOS X86 32 | :heavy_check_mark: |
|
|watchOS X86 32 | :heavy_check_mark: |
|
||||||
|watchOS Arm 64(_32) | :heavy_check_mark: |
|
|watchOS Arm 64(_32) | :heavy_check_mark: |
|
||||||
|watchOS Arm 32 | :heavy_check_mark: |
|
|watchOS Arm 32 | :heavy_check_mark: |
|
||||||
|
|watchOS Simulator Arm 64 (Apple Silicon)| :heavy_check_mark: |
|
||||||
|tvOS X86 64 | :heavy_check_mark: |
|
|tvOS X86 64 | :heavy_check_mark: |
|
||||||
|tvOS Arm 64 | :heavy_check_mark: |
|
|tvOS Arm 64 | :heavy_check_mark: |
|
||||||
|
|tvOS Simulator Arm 64 (Apple Silicon)| :heavy_check_mark: |
|
||||||
|minGW X86 64| :heavy_check_mark: |
|
|minGW X86 64| :heavy_check_mark: |
|
||||||
|minGW X86 32| :x: |
|
|minGW X86 32| :x: |
|
||||||
|
|
||||||
@ -150,8 +154,8 @@ Java Windows dll is from https://download.libsodium.org/libsodium/releases/libso
|
|||||||
### TODO:
|
### TODO:
|
||||||
- Improve documentation
|
- Improve documentation
|
||||||
- Running tests on Android
|
- Running tests on Android
|
||||||
- LobsodiumUtil `unpad` and `fromBase64` native implementations use a nasty hack to support shared native sourceset. The hack either needs to be removed and replaced with another solution or additional safeguards need to be added.
|
|
||||||
- Complete exposing libsodium constants
|
- Complete exposing libsodium constants
|
||||||
|
- Build MSVC so it's binaries are completely equal
|
||||||
- Find a better way of fetching Konan dependencies than having a dummy project.
|
- Find a better way of fetching Konan dependencies than having a dummy project.
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
Binary file not shown.
@ -366,11 +366,11 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion(29)
|
compileSdkVersion(AndroidPluginConfiguration.sdkVersion)
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.ionspin.kotlin.crypto.sample"
|
applicationId = "com.ionspin.kotlin.crypto.sample"
|
||||||
minSdkVersion(21)
|
minSdkVersion(AndroidPluginConfiguration.minVersion)
|
||||||
targetSdkVersion(29)
|
targetSdkVersion(AndroidPluginConfiguration.sdkVersion)
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
versionName = "1.0"
|
versionName = "1.0"
|
||||||
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user