Fix Android Build Issues with New React Native Architecture
Problem
When using this iOS-specific package with the new React Native architecture, Android builds fail with a Kotlin compilation error:
Execution failed for task ':react-native-ios-context-menu:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
This occurswhen using the new architecture-compatible versions:
react-native-ios-utilities: 5.0.0-46
react-native-ios-context-menu: 3.0.0-10
Solution
Since this package is iOS-specific, I removed the Android folder to prevent Android build errors.
This change is particularly relevant for projects using Zeego, which depends on this package.
Fix Android Build Issues with New React Native Architecture
Problem
When using this iOS-specific package with the new React Native architecture, Android builds fail with a Kotlin compilation error:
This occurswhen using the new architecture-compatible versions:
react-native-ios-utilities
:5.0.0-46
react-native-ios-context-menu
:3.0.0-10
Solution
Since this package is iOS-specific, I removed the Android folder to prevent Android build errors.
This change is particularly relevant for projects using Zeego, which depends on this package.