Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to slove this issue - Task :react-native-push-notification:compileDebugJavaWithJavac FAILED , import com.google.firebase.iid issue [closed]

enter image description here![\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:40: error: cannot find symbol

import com.google.firebase.iid.InstanceIdResult

like image 938
manoj kumar Avatar asked May 12 '21 08:05

manoj kumar


1 Answers

There is some issue at 7.2.* version. Try moving to the latest version or any 7.3.* version.

npm i react-native-push-notification@latest

like image 138
Amiya Panigrahi Avatar answered Oct 26 '22 06:10

Amiya Panigrahi