When building a expo project using EAS build if we have expo-screen-capture in our dependencies the build fails with the following error:
e: /build/workingdir/build/front/patient_engagement_app/node_modules/expo-screen-capture/android/src/main/kotlin/expo/modules/screencapture/ScreenShotEventEmitter.kt: (37, 7): 'onChange' overrides nothing
If expo-screen-capture dependency is removed the project builds fine.
¿Anyone has sucesfully done a EAS build in Android with expo-screen-capture?
Thanks!