You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AndroidManifest.xml 1.1KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.example.fcm">
  4. <uses-permission android:name="android.permission.INTERNET" />
  5. <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
  6. <application
  7. android:allowBackup="true"
  8. android:icon="@mipmap/ic_launcher"
  9. android:label="@string/app_name"
  10. android:roundIcon="@mipmap/ic_launcher_round"
  11. android:supportsRtl="true"
  12. android:theme="@style/Theme.App">
  13. <service android:name=".MyFirebaseMessagingService"
  14. android:exported="false">
  15. <intent-filter>
  16. <action android:name="com.google.firebase.MESSAGING_EVENT" />
  17. </intent-filter>
  18. </service>
  19. <activity android:name=".MainActivity">
  20. <intent-filter>
  21. <action android:name="android.intent.action.MAIN" />
  22. <category android:name="android.intent.category.LAUNCHER" />
  23. </intent-filter>
  24. </activity>
  25. </application>
  26. </manifest>