- Project:nodejs-mobile-react-native plugin
- Version:
"nodejs-mobile-react-native": "^0.6.2"
- Mobile device:pixel emulator
- Mobile OS and version: Android 10.0 (Q) - API 29
- Development Node.js:v12.19
- Development platform: osx 11.4
i am using a module in the nodejs code that is dependent on sodium-universal.
the nodejs-mobile-react-native plugin copy assets Task fails during build. it seems the native code produced during npm i at /nodejs-project is not bundled into Android assets.
The main objective is using require('sodium-universal') in the nodejs-project.