Or relative from now:
this.localNotifications.schedule({
title: 'Design team meeting',
//trigger: { in: 1, unit: 'hour' } // fire in one hour
trigger: { in: 5, unit: 'minute' } //fire in 5 mins
/*trigger: {
every: {
hour: 15, //3pm
minute: 25, //3:25pm
}
}*/
});
Also I was having problems with LocalNotifications working in general on a device; it was firing immediately when scheduled
I was reading somewhere in the cordova or ionic issues/forums (cant find it, will edit when I do) that said that LocalNotifications only works properly in a release build .apk/.ipa, so that might be part of the problem too