To test the plugin fix:
Re-install the local notifications plugin to your project:
cordova plugin remove cordova-plugin-local-notifications-mm
cordova plugin add cordova-plugin-local-notifications-mm
Add a new event to Moodle. Set the date soon enough so a notification can be triggered in Mobile.
Access Mobile and make the app trigger a notification for that event (change the notification time if needed).
Now reboot your phone. Check that the notification is not re-triggered.
Unfortunately, a real case to test the app fix would take too long, so the easiest way is to manually test it:
Install the app in a real device.
Open the console and execute the following code:
var $mmaCalendar = angular.element(document.querySelector('[ng-app]')).injector().get('$mmaCalendar');
var event = {id: 1, timestart: 1446000000, timeduration: 0, name: 'Test'};
$mmaCalendar.scheduleEventNotification(event, 10);
Check that the notification isn't triggered.