Skip to content

libsodium and nodejs-mobile-react-native plugin fails #325

@sallespro

Description

@sallespro
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions