Background cordova / phonegap

2

I'm a beginner in the area of creating apps with Cordova, I've looked all over the internet but I did not find any tutorial that explained exactly how to use the background plugin, in all the questions I saw here are the same answers I did not I can understand that I hope you can help me, let's go.

I'm creating an application in Cordova that controls the diet of the user with pre-defined schedules by the application itself informing the time of eating and other things, the application is working 100% but only works the alarms when it is open, I need it to work also after the user press the back button on android i found this plugin in gitHub

link

I tried to run the command line

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

But this line adds the entire gitHub Master folder inside the plugin folder and I do not know what to do with these files, could anyone help me and say exactly where to put the files and where to call each of the files? >

I'm grateful for everyone's help, thank you in advance.

    
asked by anonymous 03.11.2015 / 06:48

1 answer

3

Personally I've never tried creating an application that can work in the background, but I know there's a plugin that can do this:

link

Here you can find tutorials and such as install .

    
04.11.2015 / 11:39