How to fix exif rotation for flutter?

Posted by Andre Scott | Updated on

Want to fix exif rotation for flutter? Flutter plugin that fixes the picture orientation for some devices. In some devices the exif data shows picture in landscape mode when they’re actually in portrait. This plugin fixes the orientation for pictures taken with those devices.

Every version of Android is supported. iOS implemented by @Bhagatcliffex

Installation

Add flutter_exif_rotation as a dependency in your pubsec.yaml

Android

Add this in your AndroidManifest.xml

Here is a complete example:

Note

If you created project in objc, you need additional steps. ios/Podfile


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers