doSendPushToken method

Future doSendPushToken(
  1. BuildContext context,
  2. String token
)

Implementation

Future doSendPushToken(BuildContext context, String token) async {
  log.info("Sending device token: ${token.truncate(10)} to ${_auth!.displayName}");
  try {
    /// Why would this be commented out???
    await sendDevicePushToken.call(context, _auth!, token);
  } catch (e, stack) {
    log.severe("Error sending token: $e", e, stack);
  }
}