Skip to content Skip to sidebar Skip to footer

Keep App Working Even When Phone Is Locked/sleep - Ionic4

App is an ionic4 capacitor app which uses few cordova plugins as well. I have a timer feature associated with a bluetooth device that has to keep running even when the phone goes t

Solution 1:

I got it working using the wakeup method from the cordova background mode plugin inside the ble's startNotification method. @Paulw11's suggestion helped!


Hi, I am having this same problem. I did not understand MJ2410's answer - " got it working using the wakeup method from the cordova background mode plugin inside the ble's startNotification method". Can you elaborate a little please? Thanks


Post a Comment for "Keep App Working Even When Phone Is Locked/sleep - Ionic4"