Skip to content

Fix build release error due to local libsodium AAR dependency #9

Description

@renatotelinea

Hi,

Currently, the project fails to generate a release APK because the @s77rt/react-native-sodium module includes a local .aar file (libsodium-1.0.20.0.aar). Modern Gradle does not allow packaging a local AAR inside another AAR, which causes the build to fail.

To fix this issue, we need to remove the local .aar dependency and use a Maven-based solution for libsodium. This will allow release builds to succeed and simplify maintenance. Alternatively, we could apply a workaround by placing the .aar in android/app/libs and referencing it there, but using Maven is the preferred and cleaner solution.

Please update the project accordingly so that release builds can be generated without errors.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions