Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
906 stars 199 forks source link

feat: add ability to disable camera rotation #472

Open DaNyNaNd opened 1 month ago

DaNyNaNd commented 1 month ago

Description

Add the ability to turn camera rotation on and off for a photo

Checklist

Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

Breaking Change

If your feature break something, please detail it

cartworthy commented 1 month ago

Hi, I'm currently using camerAwesome on my flutter project and everything works except after capturing landscape images they are being saved in the portrait orientation. Do you know how to solve this problem? I'd be willing to pay for your help on this issue.

Please contact josh@cartworthy.co if you're able to help, thanks!

DaNyNaNd commented 1 month ago

@cartworthy If you're working off the branch from this PR, then it's set to only take images in portrait mode if you set enableRotation: false in the class instantiation. Otherwise, it defaults to true, so you can leave the enableRotation property off.

cartworthy commented 1 month ago

@DaNyNaNd Hi! Thanks for getting back to me. I'm not using this PR and I'm not a developer — I just found this from a Google Search looking for "disable rotation CamerAwesome" and thought this may do what I need. I'm building the app with FlutterFlow (no-code platform) and use camerAwesome for a custom widget.

Would you be able to hop on a video call to help me troubleshoot this? I'll venmo you $20 :)