We faced a crash in oreo if the user will capture an image via camera as landscape. Below are the fixes with found out and it is working now:
FilePickerUtils.java
Original Line:
int orientation = exif.getAttributeInt(
ExifInterface.TAG_ORIENTATION, 0);
Bugfix Line:
int orientation = exif.getAttributeInt(
ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL);// oreo issue is solved by changing this lines and add config in manifest
In the App Manifest the developer have to use the following lines:
<activity android:name=".Activity.[tbdWhichIsUsingTheLibraray]"
android:configChanges="orientation|screenSize|keyboardHidden"
/>
We faced a crash in oreo if the user will capture an image via camera as landscape. Below are the fixes with found out and it is working now: FilePickerUtils.java Original Line: int orientation = exif.getAttributeInt( ExifInterface.TAG_ORIENTATION, 0); Bugfix Line: int orientation = exif.getAttributeInt( ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL);// oreo issue is solved by changing this lines and add config in manifest
In the App Manifest the developer have to use the following lines: <activity android:name=".Activity.[tbdWhichIsUsingTheLibraray]" android:configChanges="orientation|screenSize|keyboardHidden" />