Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get it work. #1

Open
bilal1101-m opened this issue Feb 17, 2015 · 4 comments
Open

Can't get it work. #1

bilal1101-m opened this issue Feb 17, 2015 · 4 comments

Comments

@bilal1101-m
Copy link

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

@zeeshanjan82
Copy link

+1

2 similar comments
@Ash110
Copy link

Ash110 commented Jul 3, 2016

+1

@cms0544
Copy link

cms0544 commented Aug 19, 2016

+1

@mifkys
Copy link

mifkys commented Jan 11, 2017

  1. Set alarm (Angular 2)
                let date = new Date();
		date.setSeconds(date.getSeconds() + 3);
		(<any>navigator).plugins.alarm.set(date, 
		function(suc){
		  console.log('suc: '+suc);
		}, 
		function(err){
		  console.log('err: ' + err);
		})
  1. Minimize or exit from app
  2. After 3 seconds app will be displayed (or loaded) again. That's all what plugin can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants