I'm having this frustrating problem with B4xPages. The issue is that I'm not able to change the value of a variable in the FirebaseMessaging service when I get a Push Notification while the phone is locked and the screen is off. I tried the phonewakestate lib to keep the phone state...