With FCM the following permissons can be removed from the AndroidManifest.xml file:
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
<permission android:name="<your-package-name>.permission.C2D_MESSAGE"
|
android:protectionLevel="signature" />
|
<uses-permission android:name="<your-package-name>.permission.C2D_MESSAGE" />
|
Details here: https://developers.google.com/cloud-messaging/android/android-migrate-fcm#switch_to_fcm_in_the_app-level_buildgradle
|