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
912 stars 201 forks source link

✨ Add auto focus cancel duration #279

Closed apalala-dev closed 1 year ago

apalala-dev commented 1 year ago

Description

On Android, once a user focused on a point, the focus stayed locked to this distance. This PR adds the ability to cancel the auto focus to be able to go back to passive focus mode after a given duration. If the duration is equals (or less than) 0, the focus is locked as it is now.

This feature would probably help with #272 .

Not sure of the iOS behaviour, can you check @istornz ?

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