processMessageSync

fun processMessageSync(context: Context, message: RemoteMessage)(source)

Called to handle com.google.firebase.messaging.FirebaseMessagingService.onMessageReceived synchronously.

Call from a background thread. On the main thread the message is processed asynchronously and this method returns before processing completes.

Parameters

context

The application context.

message

The message.