Background Ordova / phonegap

Asked

Viewed 1,220 times

2

I’m a beginner in the area of creating apps with Cordova , I’ve searched all over the internet but I can’t find any tutorial that explains exactly how to use the plugin for background, in all the questions I’ve seen here are the same answers I can’t understand I hope you can help me come on.

I am creating an application in Ordova that controls the user’s diet with pre-set times by the application itself informing the time to eat and other things , the application is working 100% but only works the alarms when it is open, need it to work also after user press back button on android found this plugin on github

https://github.com/katzer/cordova-plugin-background-mode#Usage

I tried to run the command line

Cordova plugin add de.appplant.Cordova.plugin.background-mode --searchpath path path path

but this line adds the entire Master github folder inside the plugin folder and I don’t know what to do with those files, someone could help me and tell me exactly where to put the files and where to call each of the files?

I am grateful for the help of all , thanks in advance.

1 answer

3

Browser other questions tagged

You are not signed in. Login or sign up in order to post.