Hello, I would like to create a background service which will not be killed after user has quitted my app for my Android application. However, it seems that is impossible to create such a service with Ionic 2 or Cordova. So I would like to create in native Java.
The problem is: where should I write my native code and how could my native code work with other parts of my application?
Thank you in advanced.