Alarm clock app - Help badly needed!
i desperately need help!
being newbie in mobile development, i've started off basic example on phonegap website - , i'm using cli deploy code phonegap mobile app (which runs code within - makes deployment easier).
the app want create needs this:
- let user select time alarm: easy
- @ time of alarm, app should evaluate stuff , potentially reschedule alarm go off @ later time: ihavenoideawhattodo
my initial approach find way let code continue executing if app has been closed. let me achieve 'evaluate stuff @ time of alarm' part , rescheduling. 1 of plugins i've tried achieve is: github - katzer/cordova-plugin-background-mode: keep app running in background
this plugin not work. code execution seems stop try use function listed in plugin's documentation. maybe because plugin hasn't been modified work latest phonegap version.
i can't find alarm plugin either.
just info: hoping develop android , ios though testing on android.
please help! eternally grateful whomever helps me resolve these issues.
i think you're looking local notifications. there's plugin might of use you: de.appplant.cordova.plugin.local-notification
also note shouldn't rely on running code in background, on ios. apple reject using particular plugin you're using, there features background access (audio, gps, downloading[10m], etc.)
hope helps!
More discussions in PhoneGap
adobe
Comments
Post a Comment