diff --git a/README.md b/README.md index 777007d..749bf57 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ Supported Platforms: 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`. +## Requirements + +- Node.js >= 20.19.4 (CI uses 20.20.0 via `.nvmrc`) +- Example app follows React Native 0.83 defaults: + - iOS deployment target 15.1 (via `min_ios_version_supported`) + - Android `minSdkVersion` 24 + - New Architecture enabled + ## Installation Expo (dev-client) 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 cd ios && pod install ``` -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. - ## Usage **Hint:** see the `example` app in the repository regarding how to use the functions diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index de0a88c..ece1fcd 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -63,14 +63,14 @@ def enableProguardInReleaseBuilds = false * The preferred build flavor of JavaScriptCore (JSC) * * For example, to use the international variant, you can use: - * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` + * `def jscFlavor = 'io.github.react-native-community:jsc-android-intl:2026004.+'` * * The international variant includes ICU i18n library and necessary data * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that * give correct results when using with locales other than en-US. Note that * this variant is about 6MiB larger per architecture than default. */ -def jscFlavor = 'io.github.react-native-community:jsc-android-intl:2026004.+' +def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+' /** * Private function to get the list of Native Architectures you want to build. diff --git a/example/package.json b/example/package.json index 4ffa802..739d750 100644 --- a/example/package.json +++ b/example/package.json @@ -36,6 +36,6 @@ "webpack-dev-server": "^5.2.3" }, "engines": { - "node": ">=20.20" + "node": ">=20.20.0" } } diff --git a/package.json b/package.json index dc0625d..6e60716 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "react-native": "*" }, "engines": { - "node": ">= 20.0.0" + "node": ">= 20.20.0" }, "packageManager": "yarn@1.22.21", "jest": {