openwallet-foundation / openwallet-foundation/askar-wrapper-javascript

React Native: migrate to a nitro module

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.