Orientation Handling - Android
Force page orientation for your users.
window.WTN.setOrientation({
orientation, //"protrait | landscape"
forceOrientation // true | false
})import { setOrientation } from "webtonative";
setOrientation({
orientation, //"protrait | landscape"
forceOrientation // true | false
})Last updated