Updated localNotification wrapper with hasPermission and promptForPermission methods