evollu / evollu/react-native-fcm
Task :react-native-fcm:compileDebugJavaWithJavac FAILED
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
> Task :app:processDebugGoogleServices
Parsing json file: C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYC\android\app\google-services.json
> Task :react-native-fcm:compileDebugJavaWithJavac FAILED
C:\Users\DELL-EXTHONE\Desktop\domainetest\CITYC\node_modules\react-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\CITYC\node_modules\react-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\CITYC\node_modules\react-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\CITYC\node_modules\react-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\CITYC\node_modules\react-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\CITYC\node_modules\react-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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the :react-native-fcm:compileDebugJavaWithJavac failure and inspect android/src/main/java/com/evollu/react/fcm/InstanceIdService.java, especially its FirebaseInstanceIdService dependency. Check the relevant Android and Firebase configuration before deciding on the change. Done means the debug Java compilation completes without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, java, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100