backgroundMessageHandler function
void
backgroundMessageHandler(
- SmsMessage message
The top-level call-back method for handling in-coming SMS messages when the app is in the background.
Implementation
void backgroundMessageHandler(SmsMessage message) async {
_textMessageProbeController
.add(Measurement.fromData(TextMessage.fromSmsMessage(message)));
}