Local Notificatiion is not triggered When app is Closed?

I am using cordova localnotification it is working when the app is running in background but when the app is closed it does not work … Is there any solution ??