Code Monkey home page Code Monkey logo

Comments (19)

bkammin avatar bkammin commented on August 12, 2024

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.

abrararies avatar abrararies commented on August 12, 2024

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.

abrararies avatar abrararies commented on August 12, 2024

@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.

bkammin avatar bkammin commented on August 12, 2024

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.

abrararies avatar abrararies commented on August 12, 2024

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.

bilal1101-m avatar bilal1101-m commented on August 12, 2024

@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.

wtetzner avatar wtetzner commented on August 12, 2024

When I create an alarm, I get a result of "OK", but then the alarm never fires.

from cordova-plugin-wakeuptimer.

bilal1101-m avatar bilal1101-m commented on August 12, 2024

@wtetzner yeh same thing happening to me. It shows Alarm Set Success message but when time comes it never fires

from cordova-plugin-wakeuptimer.

abrararies avatar abrararies commented on August 12, 2024

@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.

bkammin avatar bkammin commented on August 12, 2024

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.

bilal1101-m avatar bilal1101-m commented on August 12, 2024

@bkammin Thank that would be very nice. I will upload test app in a day or two.

from cordova-plugin-wakeuptimer.

bilal1101-m avatar bilal1101-m commented on August 12, 2024

@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.

bkammin avatar bkammin commented on August 12, 2024

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=0

I 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.

wtetzner avatar wtetzner commented on August 12, 2024

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.

bkammin avatar bkammin commented on August 12, 2024

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.

bilal1101-m avatar bilal1101-m commented on August 12, 2024

@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.

rafaelkendy avatar rafaelkendy commented on August 12, 2024

Hi, where can i find cordova.js that is missing?

from cordova-plugin-wakeuptimer.

bkammin avatar bkammin commented on August 12, 2024

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.

sabirali007 avatar sabirali007 commented on August 12, 2024

can i take sample app?

from cordova-plugin-wakeuptimer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.