mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Bug/save to capture when app goes on pause (#1578)
* add scan support for landscape mode * refactoring * fix errors * fix rotation * add landscape orientation support * fix exception * freeze preview image From PR https://github.com/lwansbrough/react-native-camera/pull/919 * fix bug on android when user take photo and press home button immediately - after that camera not works
This commit is contained in:
parent
f3a973bc31
commit
60b9ef1b84
@ -818,7 +818,7 @@ public class RCTCameraModule extends ReactContextBaseJavaModule
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onHostResume() {
|
public void onHostResume() {
|
||||||
// ... do nothing
|
mSafeToCapture = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user