Package com.bosch.wdw

Class WDWFirebaseMessagingService

java.lang.Object
FirebaseMessagingService
com.bosch.wdw.WDWFirebaseMessagingService

public class WDWFirebaseMessagingService extends FirebaseMessagingService

The WDWFirebaseMessagingService is providing the Firebase message to the WDW-SDK.

The onMessageReceived(RemoteMessage remoteMessage) method is called on every incoming push notification.

In case push is used, the WDWFirebaseMessagingService needs to be added to the application manifest file as described below:


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