Android - User Profile - Profile image behaviour is inconsistent
When taking a picture on Android, the image is upright. When viewed on the server, it is rotated 90 degrees.
When uploading an image on the server, the image appears correctly on Android.
Profile picture should appear upright on all platforms (different android devices and server). All following scenarios should be verified:
Change a profile picture by capturing photo from camera.
You can capture picture from any camera front or back and can capture in any camera direction upright, clockwise 90 (landscape), clockwise 180 or clockwise 270 (landscape) degrees.
You can also zoom in to the picture and crop it to required size, required picture should be produced after cropping in upright direction.
After successful cropping and loading of profile image on device, check on website; profile image should be upright there.
1) Currently, by default any camera could be opened when user want to take profile picture from camera, depends on what camera user was using in camera app last time, we should force it to always open the front (selfie) camera.
2) When user change photo either by using 'Take photo' or 'Choose a photo' and crop & resize that photo, app still shows complete photo instead of showing the cropped photo on Edit profile screen/profile screen and user profile section in left drawer. However, it reloads and show the cropped photo when user tap on some other sections like 'My Courses' and come back on profile screen.
Steps to Reproduce
Reason for Variance
Our of memory crash fixed, ready for QA.
One crash is occurring quite frequently. Below are the attached logs in sequence:
Ready for QA
Ready for QA.