Hoang Trung
Hoang Trung

Reputation: 2017

react-native-notifications - Couldn't run project on Android

I did all the things according to the document but couldn't run the project on Android. Please take a look on the following image to see the errors.

enter image description here

And here are the files that I edited based on the document.

Note: This is just a blank react-native project installing react-native-notifications, doesn't have any lines of code.

Upvotes: 0

Views: 140

Answers (1)

A. Goodale
A. Goodale

Reputation: 1348

Version 0.47 of React Native made a change to the ReactPackage interface which breaks libraries like react-native-notifications. Force the use of 0.46 until there's a version of the library that supports RN 0.47. https://github.com/facebook/react-native/releases/tag/v0.47.0

Upvotes: 2

Related Questions