Skip to content

Commit 60fdcd0

Browse files
committed
chore: cleanup
1 parent a721b74 commit 60fdcd0

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ Supported Platforms:
1010

1111
Currently only a subset of the libsodium-wrappers exposed functionality is implemented. For missing functionality we welcome pull-requests or you can sponsor the development. Get in touch with us at `hi@serenity.re`.
1212

13+
## Requirements
14+
15+
- Node.js >= 20.19.4 (CI uses 20.20.0 via `.nvmrc`)
16+
- Example app follows React Native 0.83 defaults:
17+
- iOS deployment target 15.1 (via `min_ios_version_supported`)
18+
- Android `minSdkVersion` 24
19+
- New Architecture enabled
20+
1321
## Installation Expo (dev-client)
1422

1523
This package support the Expo plugin system and can be used together with the [Expo dev-client](https://docs.expo.dev/clients/introduction/).
@@ -36,8 +44,6 @@ npm install react-native-libsodium
3644
cd ios && pod install
3745
```
3846

39-
Note: The example app’s `example/ios/Podfile` patches the Boost podspec URL to use `archives.boost.io` because the default `boostorg.jfrog.io` endpoint redirects and can fail checksum verification.
40-
4147
## Usage
4248

4349
**Hint:** see the `example` app in the repository regarding how to use the functions

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ def enableProguardInReleaseBuilds = false
6363
* The preferred build flavor of JavaScriptCore (JSC)
6464
*
6565
* For example, to use the international variant, you can use:
66-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
66+
* `def jscFlavor = 'io.github.react-native-community:jsc-android-intl:2026004.+'`
6767
*
6868
* The international variant includes ICU i18n library and necessary data
6969
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
7070
* give correct results when using with locales other than en-US. Note that
7171
* this variant is about 6MiB larger per architecture than default.
7272
*/
73-
def jscFlavor = 'io.github.react-native-community:jsc-android-intl:2026004.+'
73+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7474

7575
/**
7676
* Private function to get the list of Native Architectures you want to build.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"webpack-dev-server": "^5.2.3"
3737
},
3838
"engines": {
39-
"node": ">=20.20"
39+
"node": ">=20.20.0"
4040
}
4141
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"react-native": "*"
8989
},
9090
"engines": {
91-
"node": ">= 20.0.0"
91+
"node": ">= 20.20.0"
9292
},
9393
"packageManager": "yarn@1.22.21",
9494
"jest": {

0 commit comments

Comments
 (0)