Task :app:processDebugGoogleServices
Parsing json file: C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYC\android\appgoogle-services.json
Task :react-native-fcm:compileDebugJavaWithJavac FAILED
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:14: error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceIdService;
^
symbol: class FirebaseInstanceIdService
location: package com.google.firebase.iid
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:16: error: cannot find symbol
public class InstanceIdService extends FirebaseInstanceIdService {
^
symbol: class FirebaseInstanceIdService
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:26: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:44: error: cannot find symbol
ReactInstanceManager mReactInstanceManager = ((ReactApplication) getApplication()).getReactNativeHost().getReactInstanceManager();
^
symbol: method getApplication()
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:48: error: cannot find symbol
LocalBroadcastManager.getInstance(getApplicationContext()).sendBroadcast(message);
^
symbol: method getApplicationContext()
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYCnode_modulesreact-native-fcm\android\src\main\java\com\evollu\react\fcm\InstanceIdService.java:53: error: cannot find symbol
LocalBroadcastManager.getInstance(getApplicationContext()).sendBroadcast(message);
^
symbol: method getApplicationContext()
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors
I have the same issue since today...
Me too
i have same issue 2weeks ago
I've replaced InstanceIdService.class with [this](https://gist.github.com/wandersage/6571d4cc363e5895d3bad3f89f91774d. this helped me to fix this issue, but I've not tested that pushes working propertly.
need migration to FirebaseMessagingService .
Most helpful comment
I have the same issue since today...