Open BagasNS opened 5 years ago
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.
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.
can i costumize camera ui without touching native code?how to set device orientation to potrait?btw this plugins very help me, good work!