I'm trying to detect when my app is open and the device get's locked vs when the app is left. Currently Expo appstate always shows Inactive -> Background for both locking the device and leaving the app. Shouldn't the state stay on inactive since the app is never really 'left' when locking the device?
I could only find one similar post but the answer hasn't been updated with the users solution.React Native: How to detect device lock/unlock event?