android - Check if my app can show notification -
in android 5, aka lollipop, how can check if app can show notification? (by using sdk)
i want warn user if system blocked notifications.
you can create notification , query notificationlistenerservice whether notification displayed. returned statusbarnotification should contain enough metadata identify notification.
Comments
Post a Comment