All Projects → expo → status-bar-height

expo / status-bar-height

Licence: MIT license
Listen to status bar changes during incoming calls and other multi-tasking events

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to status-bar-height

Firebase Instagram
📸 Instagram clone with Firebase Cloud Firestore, Expo, and React Native 😁😍
Stars: ✭ 389 (+432.88%)
Mutual labels:  native, expo
TiktokClone
TIKTOK Clone React Native Tutorial 2021 👨‍💻 I'll show you how you can do this in the simplest way and terms possible. By the end of this series you'll have learned how the big companies do it and will be able to do the same, you not only will be able to do this app, but you'll be able to put what you learn into your very own projects! In this se…
Stars: ✭ 69 (-5.48%)
Mutual labels:  native, expo
expo-doodle-jump
No description or website provided.
Stars: ✭ 44 (-39.73%)
Mutual labels:  native, expo
tasit-apps
Native mobile Ethereum dapps for mainstream users
Stars: ✭ 35 (-52.05%)
Mutual labels:  native, expo
Expo Voxel
🎮🌳 Voxel Terrain made in React Native. ∛
Stars: ✭ 169 (+131.51%)
Mutual labels:  native, expo
React Native Css Gradient
React Native css gradients - react-native-linear-gradient with css gradient support
Stars: ✭ 129 (+76.71%)
Mutual labels:  native, expo
Expo-Super-Mario-World
Native Super Mario World in Expo
Stars: ✭ 24 (-67.12%)
Mutual labels:  native, expo
smovie-expo
[New] New version with more examples: https://github.com/theo-mesnil/WhatToWatch [Old version] Smovie is the simplest and fastest way to discover movies, series and actors. With React Native, Expo and themoviedb 🎥
Stars: ✭ 19 (-73.97%)
Mutual labels:  native, expo
Expo
An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web.
Stars: ✭ 15,550 (+21201.37%)
Mutual labels:  native, expo
app-monorepo
Secure, open source and community driven crypto wallet runs on all platforms and trusted by millions.
Stars: ✭ 1,282 (+1656.16%)
Mutual labels:  native, expo
react-native-sass-to-stylesheet
css和sass文件自动转换成react-native样式文件
Stars: ✭ 53 (-27.4%)
Mutual labels:  native
react-native-expo-web
All-in-one React Native project (Expo + react-native-web)
Stars: ✭ 16 (-78.08%)
Mutual labels:  expo
KaiUI
Useful native UI components for KaiOS
Stars: ✭ 29 (-60.27%)
Mutual labels:  native
ti.map
Use native Apple Maps & Google Maps in iOS and Android with Axway Titanium
Stars: ✭ 49 (-32.88%)
Mutual labels:  native
nativescript-vue-examples
🍈 NativeScript and Vue code samples.
Stars: ✭ 13 (-82.19%)
Mutual labels:  native
IL2CPP Resolver
A run-time API resolver for IL2CPP Unity.
Stars: ✭ 114 (+56.16%)
Mutual labels:  native
SilentCryptoMiner
A Silent (Hidden) Free Crypto Miner Builder - Supports ETH, ETC, XMR and many more.
Stars: ✭ 547 (+649.32%)
Mutual labels:  native
postsack
Visually cluster your emails by sender, domain, and more to identify waste
Stars: ✭ 288 (+294.52%)
Mutual labels:  native
bspwmbar
A lightweight status bar for bspwm.
Stars: ✭ 70 (-4.11%)
Mutual labels:  statusbar
react-native-multi-selectbox
Platform independent (Android / iOS) Selectbox | Picker | Multi-select | Multi-picker. The idea is to bring out the common user interface & user experience on both platforms.
Stars: ✭ 169 (+131.51%)
Mutual labels:  expo

🚨 This package has been deprecated in favor of react-native-safe-area-context which works in Expo Go and across iOS, Android, and web!

@expo/status-bar-height

Listen to status bar changes during incoming calls and other multi-tasking events 💙

Test in a simulator with (⌘ Y) to toggle the status bar height.

Snack: https://snack.expo.io/@bacon/status-bar-height-example

Installation

yarn add @expo/status-bar-height

Usage

Import the library into your JavaScript file:

import StatusBarHeight from '@expo/status-bar-height';

Functions

StatusBarHeight.addEventListener( (height: number) => {} )

Given a callback this will be invoked whenever the status bar height changes. The status bar height changes when another app is running a background activity.

  • Phone Calls
  • Navigating
  • Facetime

StatusBarHeight.removeEventListener( (height: number) => {} )

The provided function will stop receiving updates

StatusBarHeight.getAsync(): Promise<number>

Get the current height of the status bar async.

const height = await StatusBarHeight.getAsync();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].