diff options
Diffstat (limited to '')
-rw-r--r-- | src/standardPush/AndroidManifest.xml | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/src/standardPush/AndroidManifest.xml b/src/standardPush/AndroidManifest.xml index 27c2b6e14..68dc82070 100644 --- a/src/standardPush/AndroidManifest.xml +++ b/src/standardPush/AndroidManifest.xml @@ -1,25 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<manifest package="de.pixart.messenger" - xmlns:android="http://schemas.android.com/apk/res/android"> - - <permission - android:name="de.pixart.messenger.permission.C2D_MESSAGE" - android:protectionLevel="signature" /> - <uses-permission android:name="de.pixart.messenger.permission.C2D_MESSAGE" /> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="de.pixart.messenger"> <application> <receiver - android:name="com.google.android.gms.gcm.GcmReceiver" - android:exported="true" - android:permission="com.google.android.c2dm.permission.SEND"> - <intent-filter> - <action android:name="com.google.android.c2dm.intent.RECEIVE" /> - <category android:name="com.example.gcm" /> - </intent-filter> - </receiver> - - <receiver android:name=".services.MaintenanceReceiver" android:exported="true" android:permission="android.permission.CHANGE_CONFIGURATION"> @@ -32,15 +17,13 @@ android:name=".services.PushMessageReceiver" android:exported="false"> <intent-filter> - <action android:name="com.google.android.c2dm.intent.RECEIVE" /> + <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service> - <service - android:name=".services.InstanceIdService" - android:exported="false"> + <service android:name=".services.InstanceIdService"> <intent-filter> - <action android:name="com.google.android.gms.iid.InstanceID" /> + <action android:name="com.google.firebase.INSTANCE_ID_EVENT" /> </intent-filter> </service> </application> |