Unwanted permissions on Android when Firebase is implemented.

Hi,

I am using Firebase Messaging in my project. When I install the app on Android it asks for USB access and Phone State. I don’t like these permissions to be asked at the user the first time.
I have no idea why Firebase requires these permissions. Nowhere in my (asset folder) AndroidManifest.xml files permissions are explicitly required.

Is there a way to remove these permissions? Do I really need them?

Firebase was not the cause. The cause is Unity, which adds permissions when building for Android because of some code that could retrieve some information. Something like System.deviceUniqueIdentifier automatically add the permission READ_PHONE_STATE.
In my case I didn’t add directly this code but I am using an SDK which surely does considering what it’s meant for.