Can you make an application that supports background operation with cordova?

Asked 1 years ago, Updated 1 years ago, 69 views

I was going to create an alarm application with monaca, but it didn't support background operation.
Is it possible to use the original cordova?
Also, which of the following specifications can you create?

Either Android or iPhone
1. When the app is on multitasking, the alarm will be played at the specified time
2. Play the alarm when the specified time is reached while the app is completely turned off

javascript android iphone cordova

2022-09-29 22:03

1 Answers

https://github.com/wnyc/cordova-plugin-wakeuptimer

With this plug-in,

2. Play the alarm when the specified time is reached while the app is completely turned off

would be possible.

I remember that any plug-in could be installed if it was a paid plan for monaca.
If it's a free plan, migrate to the cordova project and install this plug-in.


2022-09-29 22:03

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.