Add disableNotifications property
update sample codes