Kameron Berget
Posts: 0
Joined: Tue Apr 23, 2013 5:24 pm

Notifications & Screen Lock

I am using the background plugin to allow my app to track geolocation while the app is running the background. My question is, is there a way I can display a message banner at the top when the app is running the in background and the screen is locked? I am looking to replicate the look of Maps on iOS. When you are navigating and lock the screen, a banner is displayed on the lock screen showing notifications from the app.

My next question is: Is there a way to send a lock event to the device to force the device lock the screen?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Notifications & Screen Lock

Hello,

It looks like amethod of the background plugin. E.g.: https://github.com/katzer/cordova-plu...

Return to “Issues”