Comments (19)
successCallback be called immediately (this simply indicates that the alarm has been set), and then it should be called again after 60 seconds.
from cordova-plugin-wakeuptimer.
Thanks @bkammin
But it still doesn't work and the "result" variable returns NULL. Is the code right?
I'm running this on IOS (8.1)
from cordova-plugin-wakeuptimer.
@bkammin It would be really awesome if you could include a sample app in the repository.
We really need this plugin. :(
from cordova-plugin-wakeuptimer.
I'll try to get a sample app up. Meanwhile, if you are using the snooze feature of the wakeup timer, take a look at https://github.com/wnyc/cordova-plugin-sleeptimer. It does something similar.
from cordova-plugin-wakeuptimer.
I was testing the snooze because it didn't need date values. I actually need to use the raise the alarm on a specific time and date.
I would really appreciate a sample app. Thanks @bkammin !
from cordova-plugin-wakeuptimer.
@abrararies hi
i just want to know did you get success in working this plugin or not? Because i am trying also but haven't any luck yet :(
from cordova-plugin-wakeuptimer.
When I create an alarm, I get a result of "OK", but then the alarm never fires.
from cordova-plugin-wakeuptimer.
@wtetzner yeh same thing happening to me. It shows Alarm Set Success message but when time comes it never fires
from cordova-plugin-wakeuptimer.
@Blu-Angel Hey
No luck yet. I am hoping tht @bkammin would add a sample app and make my life easier. ;)
from cordova-plugin-wakeuptimer.
I've been swamped on other project lately and haven't had time to put
together a sample app -- if you could send a sample app with your code,
I'll get it working and add it to the repo.
On Wed, Jan 28, 2015 at 4:32 AM, abrararies [email protected]
wrote:
@Blu-Angel https://github.com/Blu-Angel Hey
No luck yet. I am hoping tht @bkammin https://github.com/bkammin would
add a sample app and make my life easier. ;)—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from cordova-plugin-wakeuptimer.
@bkammin Thank that would be very nice. I will upload test app in a day or two.
from cordova-plugin-wakeuptimer.
@bkammin following is the link for test app
https://www.dropbox.com/s/9fxh5de8pod0hch/testAlarm.rar?dl=0
I test in Mobiles and also in Genemotion Emulators but not succeed
from cordova-plugin-wakeuptimer.
I created a working example in the github repository using your code -
thanks for contributing. Let me know if it works for you.
On Sun, Feb 1, 2015 at 8:41 AM, Blu [email protected] wrote:
@bkammin https://github.com/bkammin following is the link for test app
https://www.dropbox.com/s/9fxh5de8pod0hch/testAlarm.rar?dl=0I test in Mobiles and also in Genemotion Emulators but not succeed
—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from cordova-plugin-wakeuptimer.
I used the working example to get my program working. If the app is open at the time the alarm should trigger, it calls my success function. However, if my app is closed, then when the alarm time comes, it opens my app, but it doesn't call the success function.
Is there something I need to do to get that working?
from cordova-plugin-wakeuptimer.
In my testing the success function was called in the sample app with the
app in the background when the alarm expired (I'm testing on a Samsung S3
running 4.4.2).
You could make sure the KeepRunning flag is config.xml is not set to false
(it defaults to true). If it is set to false, the execution of cordova
webview code is halted when the app is in the background.
On Mon, Feb 2, 2015 at 4:38 PM, Walter Tetzner [email protected]
wrote:
I used the working example to get my program working. If the app is open
at the time the alarm should trigger, it calls my success function.
However, if my app is closed, then when the alarm time comes, it opens my
app, but it doesn't call the success function.Is there something I need to do to get that working?
—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from cordova-plugin-wakeuptimer.
@bkammin Thanks for update. and apologise for my late reply. I am testing that maybe i will have some other new questions about this plugin and i would like to start new issue with sample app soon. Thanks.
from cordova-plugin-wakeuptimer.
Hi, where can i find cordova.js that is missing?
from cordova-plugin-wakeuptimer.
cordova.js is not included in the plugin - it is installed when you create a Cordova app (see http://cordova.apache.org)
from cordova-plugin-wakeuptimer.
can i take sample app?
from cordova-plugin-wakeuptimer.
Related Issues (20)
- Phonegap Build compatibility HOT 3
- How to cancel the alarm clock HOT 5
- delete HOT 3
- I don't receive successCallback, console logs on iOS 9 iphone. HOT 1
- wakeup time not accurate? HOT 2
- how to set alarm date and time HOT 6
- bring the app to foreground (IOS) HOT 1
- Using ionic2 HOT 5
- How to set sound file?
- I can't find any code about this plugin in the SimpleAlarmExample HOT 3
- Is it possible to load this plugin in the background, and launch normally from App icon
- how to execute a specific function when alarm wake up ?
- Getting error while installing plugin
- Archive import has failed.
- Repository not maintained? Any good tutorial? HOT 3
- Function: Callback always returns unhandled type HOT 1
- cordova plugin add cordova-plugin-wakeuptimer not install error via registry. HOT 11
- Plugin waking up the app too late
- cannot install plugin HOT 1
- Not working on screen lock HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-wakeuptimer.