ideacreation / react-native-barcodescanner

A barcode scanner component for react native - not maintained anymore - use react-native-camera
MIT License
538 stars 162 forks source link

Compilation failed for RN 0.47-rc.5 #79

Open forki opened 7 years ago

forki commented 7 years ago

Compilation failed for RN 0.47-rc.5

D:\Work\835a948d\0\products\msu.Reading\node_modules\react-native-barcodescanner\android\src\main\java\com\eguma\barcodescanner\BarcodeScannerPackage.java:20: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:react-native-barcodescanner:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

Is there a chance that you update the package?

see https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8

forki commented 7 years ago

fixed in https://github.com/ideacreation/react-native-barcodescanner/pull/80

megamind2301 commented 7 years ago

still getting the same error @forki

GrishmaM commented 6 years ago

facing the same issue any fix ?

neeluagrawal commented 6 years ago

facing same issue please tell me the solution to solve this.

neeluagrawal commented 6 years ago

https://github.com/rebeccahughes/react-native-device-info/pull/191/files

check this to solve above issue

sasanazizi commented 6 years ago

@forki hey , Thanks for your labor. your solution solved my issue, but how we can upgrade this package with npm with your solution?

forki commented 6 years ago

AFAIK this project is no longer supported by the original author

sasan azizi notifications@github.com schrieb am Mo., 26. März 2018, 17:51:

@forki https://github.com/forki hey , Thanks for your labor. your solution solved my issue, but how we can upgrade this package with npm with your solution?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ideacreation/react-native-barcodescanner/issues/79#issuecomment-376215179, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNIjSrqwzrt3dLuJuS9-01vWq7DyVks5tiQ5ogaJpZM4OlLWx .

sasanazizi commented 6 years ago

@forki thanks man.