Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/big-hornets-wear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@react-native-node-api/test-app": patch
---

Renamed ferric-example in test app to match mono-repo packages
6 changes: 6 additions & 0 deletions .changeset/itchy-seals-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@react-native-node-api/test-app": minor
"react-native-node-api": minor
---

Add explicit support for React Native 0.81.1 (0.79.6, 0.80.0, 0.80.1, 0.80.2 & 0.81.0)
5 changes: 5 additions & 0 deletions .changeset/upset-papayas-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-native-node-api": patch
---

Fix host library to not explicitly link with weak-node-api and instead rely on dlopen
2 changes: 1 addition & 1 deletion apps/test-app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function loadTests({
it("exports a callable sum function", () => {
const exampleAddon =
/* eslint-disable-next-line @typescript-eslint/no-require-imports -- TODO: Determine why a dynamic import doesn't work on Android */
require("ferric-example") as typeof import("ferric-example");
require("@react-native-node-api/ferric-example") as typeof import("@react-native-node-api/ferric-example");
const result = exampleAddon.sum(1, 3);
if (result !== 4) {
throw new Error(`Expected 1 + 3 to equal 4, but got ${result}`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
24 changes: 12 additions & 12 deletions apps/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,25 @@
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/runtime": "^7.27.0",
"@react-native-community/cli": "^18.0.0",
"@react-native-community/cli-platform-android": "^18.0.0",
"@react-native-community/cli-platform-ios": "^18.0.0",
"@react-native-community/cli": "^20.0.1",
"@react-native-community/cli-platform-android": "^20.0.1",
"@react-native-community/cli-platform-ios": "^20.0.1",
"@react-native-node-api/ferric-example": "*",
"@react-native-node-api/node-addon-examples": "*",
"@react-native-node-api/node-tests": "*",
"@react-native/babel-preset": "0.79.0",
"@react-native/metro-config": "0.79.0",
"@react-native/typescript-config": "0.79.0",
"@rnx-kit/metro-config": "^2.0.1",
"@react-native/babel-preset": "0.81.1",
"@react-native/metro-config": "0.81.1",
"@react-native/typescript-config": "0.81.1",
"@rnx-kit/metro-config": "^2.1.1",
"@types/mocha": "^10.0.10",
"@types/react": "^19.0.0",
"@types/react": "^19.1.0",
"concurrently": "^9.1.2",
"ferric-example": "^0.1.0",
"mocha": "^11.6.0",
"mocha-remote-cli": "^1.13.2",
"mocha-remote-react-native": "^1.13.2",
"react": "19.0.0",
"react-native": "0.79.5",
"react": "19.1.0",
"react-native": "0.81.1",
"react-native-node-api": "*",
"react-native-test-app": "^4.3.3"
"react-native-test-app": "^4.4.7"
}
}
Loading