First of all, I’m using Ionic 2 and I want to build a background service so that even user has quitted my application, I can still send notifications.
But actually I’m not really familiar with native Android in Ionic, so the problem would be:
Is that possible to call functions that are written in TypeScript by background service?
I found this https://github.com/Red-Folder/bgs-core plugin, but seems I have to write in Java and do everything in background in Java.
Emphasizing:
- Ionic 2
- Has quitted
- Call TypeScript functions from background service