openwallet-foundation / openwallet-foundation/askar-wrapper-javascript
React Native: migrate to a nitro module
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 4
- Forks
- 9
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die aktuelle Einrichtung des React-Native-native-module im Repository zu lokalisieren und zu ermitteln, wie die C++-, Swift- und Kotlin-Komponenten miteinander verbunden sind. Migriere diese Einrichtung zu einem Nitro-Modul und überprüfe anschließend, dass Hot Reloading nicht mehr den Fehler wegen des fehlenden Askar-Moduls erzeugt und ein vollständiger Neustart der App weiterhin funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, kotlin, react-native, swift, typescript
- Bereich
- mobile
- Issue-Typ
- Refactoring
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100