React-native-fcm: error: cannot find symbol - new FIRMessagingPackage(getIntent())

Created on 20 Jun 2016  路  3Comments  路  Source: evollu/react-native-fcm

Hey, i want to use your react-native-fcm in my app.
there are only react-native and your react-native-fcm.
I made all steps from readme, but i cant build app.
paste error:

../../../MainActivity.java:47: error: cannot find symbol
new FIRMessagingPackage(getIntent())
^
symbol: class FIRMessagingPackage
location: class MainActivity

Most helpful comment

Add import com.evollu.react.fcm.FIRMessagingPackage; in the top of MainActivity

All 3 comments

Add import com.evollu.react.fcm.FIRMessagingPackage; in the top of MainActivity

rnpm show add this import automatically. @Przemocny is your issue solved?

solved

Was this page helpful?
0 / 5 - 0 ratings