Red-Folder / bgs-core

Core code for the Cordova Background Service
Other
236 stars 105 forks source link

Integrating with NotificationListenerService would it work? #105

Open felipe-ff opened 5 years ago

felipe-ff commented 5 years ago

Hello, I'm building a Finance app that can capture bank's notifications for automated listing of spendings, would it be possible to integrate: https://developer.android.com/reference/android/service/notification/NotificationListenerService to this plugin?

Example project: https://github.com/kpbird/NotificationListenerService-Example

All I'd have to do is create a class that extends NotificatoinListenerService ? would I really have to use intents or could I write my code directly in the method onNotificationPosted()?

Sorry for the question I only program with Ionic so I'm clueless in native.