Skip to content
Open
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ https://github.com/user-attachments/assets/3aa262ea-ce05-496b-8e5e-f46877ec7395
- `index.d.ts` hand-crafted TypeScript declarations matching the addon implementation.
- `index.test.ts` a test exercising the native addon using Jest via Node.js.
- `./example-app` Expo example app
- `app.json` enables the `buildReactNativeFromSource` property to ensure React Native is built from source.
- `App.tsx` does the actual import of `node-api-example-lib` and providing a calculator UI.
- `package.json` declaring dependencies on
- `node-api-example-lib`: the example library in the root of the repository
Expand Down
12 changes: 11 additions & 1 deletion example-app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
},
"web": {
"favicon": "./assets/favicon.png"
}
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"buildReactNativeFromSource": true
}
}
]
]
}
}
Loading