Git Product home page Git Product logo

alarmplugin's People

Contributors

jbaylina avatar jmoraleda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alarmplugin's Issues

Can't get it work.

I used this and have no success can you please provide some sample app. Thanks

Attempted to send a second callback for ID: AlarmPlugin411429347

Hi,

I can't get this to work.

Here is my code:

setAlarm = function(){
    var alarmDate = new Date().getTime();
    console.log("current time: "+alarmDate);
    alarmDate = alarmDate + 2000;
    console.log("in two seconds: "+alarmDate);
    console.log("setting the local notification at "+alarmDate);
    navigator.plugins.alarm.set(alarmDate, 
        function(){
            // SUCCESS
            console.log("alarm triggered at "+alarmDate);
        }, 
        function(){
          // ERROR
          console.log("Error triggering the alarm "+alarmDate);
        })
};

On the android logcat I've got the error in the subject or, if I grep for "Web Console" I have the "Error triggering the alarm" message.

any idea what's wrong with my code? Looks pretty straightforward to me

is it iOS compliant too?

Hi, is your plug in iOS compatible? Would it work on iPhone for example even for demo/development purposes?

And also, ( assuming it would work for iPhone as a development build ), would it be iOS compliant as well ? - that is it cal pass Apple's app review/submission guidelines.

  • I'm asking this because Apple is quite picky about the background process.

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.