Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase InstanceId Is deprecated #4

Open
ShrushtiGirap opened this issue Feb 22, 2022 · 0 comments
Open

Firebase InstanceId Is deprecated #4

ShrushtiGirap opened this issue Feb 22, 2022 · 0 comments

Comments

@ShrushtiGirap
Copy link

Firebase InstanceId is deprecated in instagram clone. Please help to solve this problem.
The following error is being displayed:
C:\Users\Shrushti\AndroidStudioProjects\Instagram-clone-master\app\src\main\java\my\insta\fashionadvisor\Messages\Notification\MyFirebaseIdService.java:6: error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceId;
^
symbol: class FirebaseInstanceId
location: package com.google.firebase.iid
C:\Users\Shrushti\AndroidStudioProjects\Instagram-clone-master\app\src\main\java\my\insta\fashionadvisor\Messages\Notification\MyFirebaseIdService.java:7: error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceIdService;
^
symbol: class FirebaseInstanceIdService
location: package com.google.firebase.iid
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors

Task :app:compileDebugJavaWithJavac FAILED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant