LeonardoRosaa / flutter_onfido_plus

MIT License
1 stars 2 forks source link

captureFace Optional? #1

Open joseignaciopergolesi opened 2 years ago

joseignaciopergolesi commented 2 years ago

Hello, I would like to know how to avoid the screen in which a selfie is made. In the documentation it says that the "captureFace" parameter is optional but it is not so when using the plugin.

LeonardoRosaa commented 2 years ago

Can you share what happens when you do not use the captureFace?

joseignaciopergolesi commented 2 years ago

I leave you a screenshot. The 'captureFace' parameter is required and not optional. Captura de pantalla de 2022-07-28 12-35-34

LeonardoRosaa commented 2 years ago

I'm happy that you using the package! Feel free to open a PR to improve that.

LeonardoRosaa commented 2 years ago

Hello @joseignaciopergolesi,

I analyzed the problem you raised, so I need your help to test the solution.

I created the branch feat/capture_face/optional to commit the changes. Can you import the dependency by Git packages and test the solution?

The link below it can help you to import dependency by Git:

https://dart.dev/tools/pub/dependencies#git-packages