Skip to content

Does this package need linking? #29

@iuliuvisovan

Description

@iuliuvisovan

I'm confused. Why don't the docs say this anywhere. Very poor documentation.

I tried to link this package and it crashed, tried to do it manually but it fails at the build:

Task :react-native-screen-brightness:compileDebugJavaWithJavac
/Users/iuliuvisovan/Desktop/olly-react/node_modules/react-native-screen-brightness/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessModule.java:28: error: ScreenBrightnessModule is not abstract and does not override abstract method onNewIntent(Intent) in ActivityEventListener
public class ScreenBrightnessModule extends ReactContextBaseJavaModule
^
/Users/iuliuvisovan/Desktop/olly-react/node_modules/react-native-screen-brightness/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessModule.java:64: error: method does not override or implement a method from a supertype
@OverRide
^
/Users/iuliuvisovan/Desktop/olly-react/node_modules/react-native-screen-brightness/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessPackage.java:33: error: method does not override or implement a method from a supertype
@OverRide
^
3 errors

FAILURE: Build failed with an exception.

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