I am successful to lock the screen before scanning, but after scanner opens, orientation changes!
What is the solution for that issue.
ionic 3/ iPhone only.
the problem is resolved in Android by adding:
orientation : “portrait”, // Android only (portrait|landscape), default unset so it rotates with the device