{"name":"expo-sensors","version":"11.3.0","keywords":["react-native","expo","sensors","accelerometer","devicemotion","gyroscope","magnetometer","pedometer","barometer"],"author":{"name":"650 Industries, Inc."},"license":"MIT","_id":"expo-sensors@11.3.0","homepage":"https://docs.expo.dev/versions/latest/sdk/sensors/","bugs":{"url":"https://github.com/expo/expo/issues"},"dist":{"shasum":"97aaf6bf5da604fb22297dd1d68d191ef45dc13e","tarball":"http://registry-npm.ywwl.com/expo-sensors/download/expo-sensors-11.3.0.tgz","fileCount":186,"integrity":"sha512-rCvvNdgJ5N9ws30HI9oZvugacRO83OeisayjnuOtiCWFAl7ISQBid8/1htD6KXGbi4i0AyvD4Cn2nKTNkmdBVA==","signatures":[{"sig":"MEQCICY5SRryNIJkRTV3qMAJEeh4aWSoLwYm51CfXbIEo1rEAiAdAf4r794mJwEiuVaQwI+pJ5GP8Z+7brf125noYaZoRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1000873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaVC6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSBQ//R6s9Z1MqmIa1h2cNSzAfaze5NwdmmPGI1aXCt1wxyPN+8a0s\r\nE59HdauLlJFGHDYSUkPD8yFwWdkGMK3CxzIKZsI4oFY92Y8F6iI8lHo+mRtj\r\nGVGOgsXejo256rcQnGzlWia2oe18CjSf/bGC7fwq9eALVngqGE6CEtI4/rX/\r\nuIJ6R0qcwOdNDIAf3FLCPkeftQRhn5jSsYzd4YSQty1FrV2/Lma/Lv4R4hL6\r\nUJonxverRLoKk2ydUJ1EViX1HOk5VOw0SXd72eVFl9TDNGlunSUFAYdkyl5I\r\n45nX0SkXJlWWJj+1qEJYbNLZgYfWoArWJupBgnoigA8WoRCf5GDIFySxqUp7\r\nvWnUteHbapUo0GWzBOeBTgRuYXQev7Na4Z9Z9/4usm4uhp3PHIr2D81HfZpF\r\nfM8QKcpoLXgYN4dqlI4CpGSy36ptEGWT6kT2OYAMIsVnRJBQHhhOT3jjySJP\r\ntONp97DQ5jOLJ5OkoKult0LHWCp7I8UJLw3vHe7iUv75OVlyqFWfikjDBt82\r\ndE3vLqDDjsfrHMO2nxZdg6Zy7IiWIh8MNwwO/FYVkTEIeDbgIzRLnIIEX951\r\n+A45a0pO6uH3nKtT3l4Xw2fUFOqJmN8RegbLfDMmij+L+hFryP7EVM6lHoqg\r\n2RKNqjxpXI9Gz8uGb5vZVFG12jz307AlpY8=\r\n=iAVz\r\n-----END PGP SIGNATURE-----\r\n","size":285837,"noattachment":false,"key":"/expo-sensors/-/expo-sensors-11.3.0.tgz"},"jest":{"preset":"expo-module-scripts"},"main":"build/index.js","types":"build/index.d.ts","gitHead":"be6e0e7ea3f7fd1ab8368137260a7ad1b1bf12a8","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"tsapeta","email":"npm@tsapeta.com"},"repository":{"url":"git+https://github.com/expo/expo.git","type":"git","directory":"packages/expo-sensors"},"_npmVersion":"6.14.16","description":"Provides access to a hardware device's accelerometer, gyroscope, magnetometer, and pedometer.","directories":{},"sideEffects":false,"_nodeVersion":"16.3.0","dependencies":{"invariant":"^2.2.4","@expo/config-plugins":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"expo-module-scripts":"^2.0.0"},"peerDependencies":{"expo":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-sensors_11.3.0_1651069114101_0.35254295909557665","host":"s3://npm-registry-packages"},"readme":"<p>\n  <a href=\"https://docs.expo.dev/versions/latest/sdk/sensors/\">\n    <img\n      src=\"../../.github/resources/expo-sensors.svg\"\n      alt=\"expo-sensors\"\n      height=\"64\" />\n  </a>\n</p>\n\nProvides access to a hardware device's accelerometer, gyroscope, magnetometer, and pedometer.\n\n# API documentation\n\n- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/sensors.mdx)\n- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/sensors/)\n\n# Installation in managed Expo projects\n\nFor [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/sensors/).\n\n# Installation in bare React Native projects\n\nFor bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.\n\n### Add the package to your npm dependencies\n\n```\nnpx expo install expo-sensors\n```\n\n### Configure for iOS\n\nRun `npx pod-install` after installing the npm package.\n\n**Note:** to access DeviceMotion stats on iOS, the NSMotionUsageDescription key must be present in your Info.plist.\n\n### Configure for Android\n\nNo additional set up necessary for basic usage.\n\n**Note:** Starting in Android 12 (API level 31), the system has a 200ms limit for each sensor updates. If you need a update interval less than 200ms, you should add `<uses-permission android:name=\"android.permission.HIGH_SAMPLING_RATE_SENSORS\"/>` to **AndroidManifest.xml**.\n\n# Contributing\n\nContributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).\n","publish_time":1651069114250,"maintainers":[{"name":"radoslawkrzemien","email":"radoslaw.krzemien@swmansion.com"},{"name":"pkham","email":"piotrek.szeremeta@swmansion.com"},{"name":"szdziedzic","email":"szymon.dziedzic@swmansion.com"},{"name":"tsapeta","email":"npm@tsapeta.com"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"lukmccall","email":"kosmatylukasz@gmail.com"},{"name":"expo-bot","email":"brent+expobotnpm@expo.io"},{"name":"alanhughes","email":"hughesno1@gmail.com"},{"name":"kadikraman","email":"hellokadi@gmail.com"},{"name":"aleqsio","email":"mikucki@gmail.com"},{"name":"marklawlor","email":"mwlawlor@gmail.com"},{"name":"gabrieldonadel","email":"donadeldev@gmail.com"},{"name":"simek","email":"gosimek@gmail.com"},{"name":"keith-kurak","email":"keith@expo.io"},{"name":"christopherwalter","email":"chris@christopherwalter.com"},{"name":"fiber-god","email":"datwheat@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"jonsamp","email":"sampjon@gmail.com"},{"name":"princefleaswallow","email":"mhampton@hey.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"jesseruder","email":"jesseruder@gmail.com"},{"name":"terribleben","email":"ben@exp.host"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"esamelson","email":"eric@expo.io"}],"_cnpm_publish_time":1651069114250,"dist-tags":{"canary":"59.0.0-canary-20261124163019-81831ea13cae6caef69ca6e9addc66aa203c6225","canary-sdk-55":"55.0.9-canary-20260429-a5e59cf","canary-sdk-56":"56.0.6-canary-20260701-9100865","latest":"58.0.5","next":"58.0.4","sdk-50":"12.9.1","sdk-51":"13.0.7","sdk-55":"55.0.19","sdk-57":"57.0.3"}}