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 PartiallyLocked but still no change. What I want to do is update the UI layout when I get a push notification, but I can't do that while the Phone is locked. To solve that I have a boolean value that I have to update when I get this push notification. Now tho I was not able to change this boolean value. Anyone has a fix for me???