gecko-dev/mobile/android/base/GcmAndroidManifest_services...

37 строки
1.6 KiB
XML

<!-- Handle GCM registration updates from on-device Google Play Services. -->
<service
android:name="org.mozilla.gecko.gcm.GcmInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID"/>
</intent-filter>
</service>
<!-- Handle token refresh in background - https://developers.google.com/cloud-messaging/android/client -->
<service
android:name="org.mozilla.gecko.gcm.GcmTokenRefreshService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false">
</service>
<!-- Provided by on-device Google Play Services. Directs inbound messages to internal listener service. -->
<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" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="@ANDROID_PACKAGE_NAME@" />
</intent-filter>
</receiver>
<!-- Handle messages directed by the GCM receiver. -->
<service
android:name="org.mozilla.gecko.gcm.GcmMessageListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>