openwallet-foundation / openwallet-foundation/askar-wrapper-javascript
React Native: migrate to a nitro module
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Nitro modules abstract away a lot of the complexity of writing C++/Swift/Kotlin modules for React Native. We have quite a complex setup, and being able to simplify that is welcoming for maintainability.
I hope it will also solves issues when you hot reload the app (and the import of the native module is re-ran) and it gives an error that the aksar module cannot be found. Force reloading the whole app (so restarting) works, but that's a bit annoying
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current React Native native-module setup in the repository and identifying how its C++, Swift, and Kotlin pieces are wired together. Migrate that setup to a Nitro module, then verify that hot reloading no longer produces the missing Askar module error and that a full app restart still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, kotlin, react-native, swift, typescript
- Domain
- mobile
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100