cesardeazevedo / react-native-collapsing-toolbar

react-native wrapper for android CollapsingToolbarLayout
MIT License
293 stars 33 forks source link

RNCollapsingToolbarPackage is not abstract and does not override abstract method createJSModules() in ReactPackage #7

Open john1jan opened 6 years ago

john1jan commented 6 years ago

error: RNCollapsingToolbarPackage is not abstract and does not override abstract method createJSModules() in ReactPackage

Getting this error when I tried to build

cesardeazevedo commented 6 years ago

Hi, which react-native version are you using?

pwob commented 6 years ago

Hi I am encountering this error, my react-native version is 0.46.

cesardeazevedo commented 6 years ago

The latest version won't work with react-native version 0.46, since there is compatibility changes in the past, see

Using 1.0.0-beta.4 may work, but i recommend you take some time to upgrade react-native instead.

zakayothuku commented 6 years ago

Try removing the @Override Interface on the createJSModules() method, it should work. I think there are compatibility changes with the update.