With version 0.47 of react-native I get the following error:
\android\src\main\java\com\dieam\reactnativepushnotification\ReactNativePushNotificationPackage.java:20: error: method does not override or implement a method from a supertype
@Override
^
In this version of react-native the method createJSModules has been removed from ReactPackage.
Maybe it was not a great idea, because it seems like a breaking change.
However I suppose method must be deleted to have a version of this package compatible with RN 0.47.
Any plan to support RN 0.47?
just remove the @Override in this file
Any updates?
@NguyenThaiHoc1 's solution worked for me. This can be a workaround solution for somebody needed.
last commit on this repo is 3months old :(
Run yarn add [email protected] or npm i [email protected], worked!
AS @brunoosilva mentioned, version 3.0.1 solves the issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Most helpful comment
just remove the @Override in this file