Skip to content

Patch to fix Android compilation errors with Kotlin #1187

@VGerris

Description

@VGerris

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @react-native-menu/menu@1.2.2 for the project I'm working on.

Fixed compilation errors like :

e: file:///Users/vincent/develop/banking/solito-nextjs-payment-base/node_modules/@react-native-menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManagerBase.kt:193:14 'val' cannot be reassigned.

and dependancy on com.facebook.yoga.YogaConstants which was removed

Here is the diff that solved my problem:

see patch

This issue body was partially generated by patch-package.

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