Konsola git

FirebaseMessagingService

public class FirebaseMessagingService extends Service

Base class for receiving messages from Firebase Cloud Messaging.

Extending this class is required to be able to handle downstream messages. It also provides functionality to automatically display notifications, and has methods that are invoked to give the status of upstream messages.

Override base class methods to handle any events required by the application. All methods are invoked on a background thread, and may be called when the app is in the background or not open.

Include the following in the manifest:

 <service
     android:name=android:name=".YourFirebaseMessagingService"
     android:exported="false">
     <intent-filter>
         <action android:name="com.google.firebase.MESSAGING_EVENT" />
     </intent-filter>
 </service>

Inherited Constant Summary