Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] FaceCaptureActivity with config #7

Open
Kerrely opened this issue Sep 15, 2022 · 1 comment
Open

[FR] FaceCaptureActivity with config #7

Kerrely opened this issue Sep 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Kerrely
Copy link

Kerrely commented Sep 15, 2022

Is your feature request related to a problem? Please describe.
There's a presentFaceCaptureActivityWithConfig method available. However, the parameter is a type of dynamic with no documentation/reference to follow. From some digging I understand that there's some native ...Config.Builder for the further native code and right now there's no way how I could pass desired parameters like isCloseButtonEnabled. There's nothing related in the JSONConstructor either, therefore I assume it's not possible right now. This is quite crucial however since in our usecase we need to get rid of the close button at least.

Describe the solution you'd like
Provide (typed if possible) way to pass in the config for activities with config.

@Kerrely Kerrely added the enhancement New feature or request label Sep 15, 2022
@huxiaobo
Copy link

The config is a map , like {"forceToUseHuaweiVision" : true}.
I add a config by myself , you can add the parameters you need.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants