shouldShowNotifications method

Future<bool?> shouldShowNotifications()

Android only. Returns whether Batch currently shows notifications.

Implementation

Future<bool?> shouldShowNotifications() async {
  if (!_isAndroidPlatform) {
    return null;
  }
  return await _channel.invokeMethod<bool>('push.shouldShowNotifications');
}