| java.lang.Object | |||
| ↳ | android.content.BroadcastReceiver | ||
| ↳ | android.support.v4.content.WakefulBroadcastReceiver | ||
| ↳ | com.google.firebase.iid.FirebaseInstanceIdReceiver | ||
WakefulBroadcastReceiver that receives FirebaseInstanceId and FirebaseMessaging events
and delivers them to the application-specific FirebaseInstanceIdService subclass.
This receiver is automatically added to your application's manifest file via manifest merge. If necessary it can be manually declared via:
<receiver
android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
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="YOUR_PACKAGE_NAME" />
</intent-filter>
</receiver>
The com.google.android.c2dm.permission.SEND permission is held by Google Play
services. This prevents other apps from invoking the broadcast receiver.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v4.content.WakefulBroadcastReceiver
| |||||||||||
From class
android.content.BroadcastReceiver
| |||||||||||
From class
java.lang.Object
| |||||||||||