Skip to content

Commit 963e55e

Browse files
authored
Merge pull request #4 from callstackincubator/kh/bump-dependencies
Bump dependencies and update enable building React Native from source in the Expo app
2 parents 3cdfba5 + 3898d20 commit 963e55e

File tree

6 files changed

+3283
-2699
lines changed

6 files changed

+3283
-2699
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ https://github.com/user-attachments/assets/3aa262ea-ce05-496b-8e5e-f46877ec7395
9090
- `index.d.ts` hand-crafted TypeScript declarations matching the addon implementation.
9191
- `index.test.ts` a test exercising the native addon using Jest via Node.js.
9292
- `./example-app` Expo example app
93+
- `app.json` enables the `buildReactNativeFromSource` property to ensure React Native is built from source.
9394
- `App.tsx` does the actual import of `node-api-example-lib` and providing a calculator UI.
9495
- `package.json` declaring dependencies on
9596
- `node-api-example-lib`: the example library in the root of the repository

example-app/app.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
},
2727
"web": {
2828
"favicon": "./assets/favicon.png"
29-
}
29+
},
30+
"plugins": [
31+
[
32+
"expo-build-properties",
33+
{
34+
"ios": {
35+
"buildReactNativeFromSource": true
36+
}
37+
}
38+
]
39+
]
3040
}
3141
}

0 commit comments

Comments
 (0)