benbahrenburg / benCoding.AlarmManager

Titanium Module for working with the Android AlarmManager
Other
98 stars 85 forks source link

Extact notifications #56

Closed michielvaneerd closed 9 years ago

michielvaneerd commented 9 years ago

Hi Ben,

I've used this module alot, but as of API 19 the AlarmManager.setRepeating isn't exact anymore, so I added some code to make it possible to use exact repeating notifications in API 19 and above.

This is done by adding some more info to the intent in createAlarmNotifyIntent() so the broadcast onReceive() method knowns if it has to create a new repeating notification or not. Maybe you can use this?

Michiel

benbahrenburg commented 9 years ago

Thanks I manually merged into v0.123