I am getting an Error Message on App Startup Stating Logs like
W/Firebase-Installations: Error when communicating with the Firebase Installations server API.
It turned out that the issue was with the version of firebase-messaging for me, using this version in app gradle got rid of the error:
implementation "com.google.firebase:firebase-messaging:20.1.0"