项目
在 GitHub 查看
with :heart: byCedric
byCedric/use-expo
关于
Complementary hooks for Expo
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Application
useApplicationInstallTime— get the time the app was installed on the deviceuseApplicationAndroidInstallReferrer— get the referrer URL of the installed appuseApplicationAndroidLastUpdateTime— get the time the app was last updated via the Google Play StoreuseApplicationIosIdForVendor— get the referrer URL of the installed app
Battery
useBattery— get the battery level, state and power modeuseBatteryLevel— get or track the battery level or percentage remaininguseBatteryLowPowerMode— get or track the battery low power modeuseBatteryState— get or track the battery (charging) state
Brightness
useBrightness— change or track the screen brightnessuseSystemBrightness— change or track the system screen brightnessuseSystemBrightnessMode— change or track the system brightness mode
Font
useFonts— load a map of fonts
Permissions
usePermissions— get or ask permissions
Screen Orientation
useScreenOrientation— track changes in screen orientationuseScreenOrientationLock— lock the screen to an orientationuseScreenOrientationPlatformLock— lock multiple platforms to an orientation
Sensors
useAccelerometer— track changes in accelerationuseBarometer— track changes in air pressureuseDeviceMotion— track device motion and orientationuseGyroscope— track changes in rotationuseMagnetometer— track changes in the magnetic fielduseMagnetometerUncalibrated— track changes in the magnetic field using raw datausePedometer— track user step countusePedometerHistory— get historical step count between two dates
Store Review
useStoreReviewHasAction— determines if the store review can perform any actionuseStoreReviewIsAvailable— determines if the platform has the capabilities to use request reviewuseStoreReviewRequest— request a store review if available
WebBrowser
useBrowsers— Get a list of Android browsersuseWarmBrowser— Warm up and cool down and android browser
Usage
You can import these hooks by installing the @use-expo/<group> packages.
import { useBrightness } from '@use-expo/brightness';
import { usePermissions } from '@use-expo/permissions';
Contributors
This project follows the all-contributors specification (emoji key). Contributions of any kind welcome!
Cedric van Putten 💻 📖 💡 |
Evan Bacon 💻 📖 |
Robbie op de Weegh 💻 📖 |
Jakub Biesiada 🐛 💻 |
with :heart: byCedric
探索相关项目
加载中…