Bug Report
Problem
Since a few weeks we noticed that the orientation suddenly didn't allow unlocking anymore in our app.
What is expected to happen?
After calling unlock(), the app should use the sensor for the right orientation.
What does actually happen?
When calling unlock(), it was going back to forced portrait.
Environment, Platform, Device
Tried on multiple android devices.
Version information
- @capacitor/*: 2.4.0
- Android build: (minSdkVersion = 21, compileSdkVersion = 29, targetSdkVersion = 29)
- Android version: 10
I've made a fix which we are using now, which can be found here.
- Based on the 3.0.2 tag since the master branch didn't work for us
Bug Report
Problem
Since a few weeks we noticed that the orientation suddenly didn't allow unlocking anymore in our app.
What is expected to happen?
After calling unlock(), the app should use the sensor for the right orientation.
What does actually happen?
When calling unlock(), it was going back to forced portrait.
Environment, Platform, Device
Tried on multiple android devices.
Version information
I've made a fix which we are using now, which can be found here.