Natively Docs
Join our community đŸ”Ĩ
  • 👩‍🚀Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • 🚀Natively Platform
    • 🚉Releases
    • đŸ–Œī¸Appearance
      • đŸ˜ŧApp Icon
      • 📱Loading Screen
      • 📱Error Screen
      • 🎨Style
    • đŸŽŦPreview
    • ⭐Features
      • đŸ›ŗī¸Bottom Bar
      • 🚇Deeplinks
        • đŸ”ĨFirebase
        • 🔗Universal Links
        • 🌱Branch.io
      • 📍Geolocation
      • 🔔Notifications
        • 📲OneSignal Notifications
        • đŸ”ĨFirebase Notifications (Advanced)
      • 📒Contacts
      • 👩‍🎨Social Auth
        • 🍏Sign In with Apple
      • 💟HealthKit
      • 💰Purchases
      • 🤑Admob
      • đŸ’ŗNFC
      • 📷Camera
      • 📂Photo Library
      • 🎤Microphone
      • 📈Analytics
        • đŸ•Šī¸AppsFlyer
        • 😛Facebook
    • 🚚Publish
      • 🍏iOS App
      • 🤖Android App
    • âš™ī¸Settings
    • 🙈Subscription Plans
  • Guides
    • 🧋Integration (Native Features)
      • 🏅How to get started?
      • â„šī¸Device
      • â„šī¸Browser Info
      • đŸ›ŗī¸Bottom Bar
      • âœ‚ī¸Clipboard
      • đŸšĻPush Notifications - OneSignal
      • đŸšĻPush Notifications - Firebase (Advanced)
      • 📍Geolocation
      • đŸ“ĻApp Storage
      • đŸ—ī¸Biometrics & Credentials
      • 📧Native SMS/Email
      • 📅Native Date Picker
      • 📸Native Camera
      • đŸŽ™ī¸Native Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • 📔Contacts
      • 🍏Apple Sign In
      • â¤ī¸HealthKit
      • 💸In-App Purchases
      • 🤑Admob
      • đŸ’ŗNFC
      • đŸĨ‘Show Toast/Banner
      • âŗShow/Hide Loading Screen
      • đŸĨ‘Haptic Feedback
      • đŸ–ŧī¸Share Media/Files
      • 📱Open an external App/URL
      • âœī¸Request User's review
      • â†”ī¸getInsets
      • 🎨Control Style & Colors
    • 🔍Troubleshooting
    • 🐈Setup RevenueCat App
    • 🚑Setup Admob App
    • đŸšĨSetup One Signal App
    • 🧑‍🤝‍🧑Setup website Universal Links (Deeplinks)
    • 🍕Testing & Submitting your app
    • 🔑Generate iOS Push Key (NEW)
    • 🔑Generate iOS Push Certificate (Legacy)
    • 🤝Affiliate program
    • 📕For Partners: Natively Brand Book.
Powered by GitBook
On this page

Was this helpful?

  1. Guides
  2. Integration (Native Features)

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)); 
      });
PreviousRequest User's reviewNextControl Style & Colors

Last updated 25 days ago

Was this helpful?

🧋
â†”ī¸