Skip to content

feat: add support of get status, navigation bars and total screen height of the device #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pmtkh
Copy link

@pmtkh pmtkh commented Jul 11, 2025

Platforms affected

Android, iOS

Motivation and Context

Due to new approach of building apps on Android 15 (edge-to-edge) it is needed to adjust the application views to support status bar and navigation bar padding to do not cover buttons of the app by system buttons. Additionally the same function was added to iOS

Description

Added three new functions that are handy when set padding for different pages in the app getNavigationBarHeight, getStatusBarHeight and getTotalScreenHeight.

Testing

Tested the changes by running the plugin as a part of Meteor.js application.

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant