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

Customizable UI #13

Open
BagasNS opened this issue Jan 12, 2019 · 2 comments
Open

Customizable UI #13

BagasNS opened this issue Jan 12, 2019 · 2 comments

Comments

@BagasNS
Copy link

BagasNS commented Jan 12, 2019

can i costumize camera ui without touching native code?how to set device orientation to potrait?btw this plugins very help me, good work!

@forrestmid
Copy link
Contributor

You cannot adjust the user interface without diving into the native code. The orientation should just be fixed regardless of device, with the scanner being long along the length of the device by default.

@forrestmid forrestmid changed the title costum ui Customizable UI Jan 23, 2019
@forrestmid
Copy link
Contributor

We could modify the interface to allow a webview overlay for the user to provide an HTML doc that customizes the scanner appearance. We'd need to pass through the flashlight and cancel buttons in order for the interface to function appropriately.

For now I don't have any time to pursue this but if someone else wants to go for it. This could enable cool functionality like putting a logo in the viewfinder, custom messages, and more, and would provide consistency across android/iOS more easily.

This was referenced Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants