I'm now developing an Android app that needs background service with this plugin, however, it refuses to work when the screen is off on my Android 2.3 (Force Close), and complains in logcat:
E/dalvikvm( 2129): Could not find class 'android.app.Notification$Builder', referenced from method de.appplant.cordova.plugin.background.ForegroundService.makeNotification
W/dalvikvm( 2129): VFY: unable to resolve new-instance 14 (Landroid/app/Notification$Builder;) in Lde/appplant/cordova/plugin/background/ForegroundService;
Hi,
I'm now developing an Android app that needs background service with this plugin, however, it refuses to work when the screen is off on my Android 2.3 (Force Close), and complains in logcat:
Is it possible to fix it? Thanks.