deviceNotification check permissions for client