βοΈgetInsets
getInsets method allows developers to accurately identify and adjust app layouts based on device screen insets, such as those around notches or camera cutouts.
window.natively.getInsets((resp) => {
console.log("Resp:", JSON.stringify(resp, null, 2));
});
Last updated
Was this helpful?