Can I create Background Services in PhoneGap Build?

  • 1
  • Question
  • Updated 6 years ago
I am trying to implement a js into my app to validate the local sqlite and show notifications for the user.

Is it possible without jar or binary files?
Photo of Reinaldo Fernandes

Reinaldo Fernandes

  • 5 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Reinaldo,

I don't quite understand what you mean by the question above.

Do you mean you want to validate front end before submitting data to your database?

If not please do correct me and explain what you expect so I an help.
Photo of Reinaldo Fernandes

Reinaldo Fernandes

  • 5 Posts
  • 0 Reply Likes
Hi Ismael,

I need javascript code be running in the background, it will connect once in sqlite base and then will display alerts to the user. As if a personal agenda.
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
That should be achievable with the Background plugin I believe.
Photo of Reinaldo Fernandes

Reinaldo Fernandes

  • 5 Posts
  • 0 Reply Likes
I need that process to start automatically when the phone starts. Already tested a few plugins, but when the application is closed the process ends.