{"bugs":{"url":"https://github.com/unimodules/react-native-unimodules/issues"},"dist":{"shasum":"6ba50e098f40f43f846aa979e4f4c0665682969c","tarball":"https://registry.npmjs.org/react-native-unimodules/-/react-native-unimodules-0.10.0.tgz","fileCount":9,"integrity":"sha512-Trwao2nlhLIPautUnyF3eDV4WOzcYQLGDGUbuXw9Ry0tvYJIBh6tm8ZV4o4cR5eajh8J4OQ7stf9+oQZtDh3mQ==","signatures":[{"sig":"MEUCIFEGA15Q+EWqjbJ8uoFri94pshyJKVG54RxlE36FuDnfAiEAt6zfE6bR4SMT2TZ530U4wQByn81ehTt9l30yK+F81F0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezpWaCRA9TVsSAnZWagAAaq8P/0+AF0kF7dEZ3LdT3lvr\nVEvDmDoqcVt6G2tyTDd+3qCG8xbjcehdP6AGr7BYuADq4SACh4Dc6Xd4AKRO\nzuNGIdy57CebyCCPjkhefDQiQxt8ks40ehSb2zWAHn1BFyc6OR7yucdvsxFt\nrIPdZPMyfNfOgVBkazgD5WcmDJAeEJoroTudceJE5iHMNYljwQpRZZzEAHE/\n6d2LF9JALN+2Siq52YEJeC6Vwz8k7rmR/7tpVquOvPW9G4m8q2ZMoPMYhO6O\niUkSTdcdjWTyE92uo61LiirY4xXbknbPI+0awHwv9SnUXOzpn9bHjQKyccNg\nt2+BFMiuUFpiCZQGuLomfA0bt5mALNqJKfzKJPWnM1wBmalE/A8VvS1VL5Bc\n989FMdJRzY+8IRsFQlKYr5ilz2Jm76G5RmhApFphxCnvccxRGXf2Pxhwrsxe\ncJYop45BYrfOJ2nUZ2RMFdv9nodx92fl5ubY2jqUTaBrYrT83gPrJ69Ycj3w\nMYU4ZuC4M3JDsnKe3Hgln09PeNoqqvE8pHkf90v8Ce2ZsPgR5xBg7euTNiFc\nInKhvZhSTvQTvH5OF4agTP8I8pUGT/yjYFm/dOLqPKXa8w3h94Faq8Iv5oBZ\n9mSvmw4dhN6gJ1o5bRTXwd5rAO2PnncqjioQqqpwwSi4bHZfk+7hwaW1x8FA\nqIoG\r\n=tq8J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"react-native-unimodules","types":"index.d.ts","author":"","readme":"# react-native-unimodules\n\nThis library contains the core unimodule infrastructure and a collection of unimodules and interfaces that are commonly depended on by other unimodules. You only need to install `react-native-unimodules` once and then you will be able to use [most of the packages from the Expo SDK](https://docs.expo.io/versions/latest/bare/unimodules-full-list/), like [expo-camera](https://docs.expo.io/versions/latest/sdk/camera/), [expo-media-library](https://docs.expo.io/versions/latest/sdk/media-library/) and many more, [in any React Native project](https://blog.expo.io/you-can-now-use-expo-apis-in-any-react-native-app-7c3a93041331).\n\nThe easiest way to use the library is to initialize a project with it already installed: `npx create-react-native-app my-app`.\n\n> You can also use `expo-cli` to do this - run `npm i -g expo-cli` and then `expo init --template bare-minimum` or `expo init --template expo-template-bare-typescript` if you prefer TypeScript.\n\nIf you have an existing project you'd like to install it into, please read the following instructions.\n\n## 📦 Installation\n\n**This project requires that you use CocoaPods on iOS**, to set it up see [this gist](https://gist.github.com/brentvatne/b0ea11a36dc423e441b7d36e36eb5a26), or relevant parts of the [this guide](https://facebook.github.io/react-native/docs/integration-with-existing-apps#3-install-cocoapods). React Native >= 0.60 ships with CocoaPods support by default, so this should be easy if you're already on that version.\n\n```bash\nnpm install react-native-unimodules\n```\n\nNow you need to configure the library for iOS and/or Android.\n\n## 🍎 Configure iOS\n\n- Open `ios/Podfile` in your editor and make it look [like this one on react-native <= 0.59](https://gist.github.com/sjchmiela/6c079f2173938a9a61a7c6f053c45000) or [like this one on react-native >= 0.60](https://gist.github.com/brentvatne/d093e440698404803bd9c29d962949b0/revisions#diff-4a25b996826623c4a3a4910f47f10c30).\n- Run `npx pod-install` again\n- Update your `AppDelegate.h` and `AppDelegate.m` according to [to look like these](https://gist.github.com/brentvatne/1ece8c32a3c5c9d0ac3a470460c65603).\n  - If you use [`react-native-navigation`](https://github.com/wix/react-native-navigation), you will need to use its `bridgeManagerDelegate` option [like in this gist](https://gist.github.com/brentvatne/67909ec442121de22c9b81c629a99aa6).\n\n### Advanced configuration\n\n<details><summary>Need to customize node_modules path?</summary>\n<p>\n\nIf you need to customize the path to node_modules, for example because you are using yarn workspaces, then you can pass in a param for this: `use_unimodules!(modules_paths: ['./path/to/node_modules'])`\n\n</p>\n</details>\n\n<details><summary>Need to exclude some unimodules that are being automatically linked?</summary> \n<p>\n\nIf you need to exclude some of the unimodules that you are not using but they got installed by your other dependencies (like `expo`), then you can pass in `exclude` param for this. For example, if you want to exclude `expo-face-detector`, you may want to use this: `use_unimodules!(exclude: ['expo-face-detector'])`\n\n</p>\n</details>\n\n## 🤖 Configure Android\n\n**In `android/settings.gradle`**\n\n1. At the top add `apply from: '../node_modules/react-native-unimodules/gradle.groovy'`\n1. Then call `includeUnimodulesProjects()` on the next line.\n\n**In `android/app/build.gradle`**\n\n1. Add `apply from: '../../node_modules/react-native-unimodules/gradle.groovy'` anywhere before the `dependencies {}` block.\n1. Add `addUnimodulesDependencies()` inside `dependencies {}` block.\n1. We recommend you use Java 1.8, you can set this [like this](https://github.com/expo/expo/commit/e175f870418fc69e8c129168118264439d73d7cc).\n\n**In `android/build.gradle`**\n\n1. Update `minSdkVersion` to `21`.\n\n**In `MainApplication.java`**\nMake the changes outlined in the diff that correspondes to your react-native version.\n\n- [this diff for react-native <= 0.59](https://gist.github.com/mczernek/0670ec16ca6071796853a66d589b49a5/revisions#diff-a2e7ff8a82f1c4be06f8b8163f2afefa)\n- [this diff for react-native >= 0.60](https://gist.github.com/mczernek/9de9e184abc430e9e3508d26738c8a14/revisions#diff-a2e7ff8a82f1c4be06f8b8163f2afefa)\n\n### Advanced configuration\n\n<details><summary>Need to customize node_modules path?</summary>\n<p>\n\nIf you need to customize the path to node_modules, for example because you are using yarn workspaces, then you can pass in a param `modulesPaths` for both of these functions: `includeUnimodulesProjects([modulesPaths: ['./path/to/node_modules']])`, `addUnimodulesDependencies([modulesPaths: ['./path/to/node_modules']])`\n\n</p>\n</details>\n\n<details><summary>Need to exclude some unimodules that are being automatically linked?</summary>\n<p>\n\nIf you need to exclude some of the unimodules that you are not using but they got installed by your other dependencies (like `expo`), then you can pass in `exclude` param for this. For example, if you want to exclude `expo-face-detector`, you may want to use this: `addUnimodulesDependencies([exclude: ['expo-face-detector']])`\n\n</p>\n</details>\n\n<details><summary>Need to customize configuration of unimodule dependencies?</summary>\n<p>\n\nYou can also customize the configuration of the unimodules dependencies (the default is `implementation`, if you're using Gradle older than 3.0, you will need to set `configuration: \"compile\"` in `addUnimodulesDependencies`, like: `addUnimodulesDependencies([configuration: \"compile\"])`)\n\n</p>\n</details>\n\n# API\n\nIt's possible that you will not have to use any of the code provided by this package directly, it may be used only by other Unimodules that you install.\n\nBut it's likely that you will want to use something like FileSystem or Permissions, and to do that you can import the following modules like so:\n\n```js\nimport { Asset, Constants, FileSystem, Permissions } from 'react-native-unimodules';\n```\n\nYou can import them directly from the specific Unimodule package if you like, but your linter may complain about importing a transitive dependency.\n\n```js\nimport * as Permissions from 'expo-permissions';\n```\n","gitHead":"6aa1425c5794afb9610c1276b8c04639b47dc9c3","license":"MIT","private":false,"scripts":{"postinstall":"node ./scripts/postinstall.js"},"_npmUser":{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},"homepage":"https://github.com/unimodules/react-native-unimodules#readme","deprecated":"replaced by the 'expo' package, learn more: https://blog.expo.dev/whats-new-in-expo-modules-infrastructure-7a7cdda81ebc","repository":{"url":"git+https://github.com/unimodules/react-native-unimodules.git","type":"git"},"_npmVersion":"6.14.4","description":"This library contains the core unimodule infrastructure and a collection of unimodules and interfaces that are commonly depended on by other unimodules. You only need to install `react-native-unimodules` once and then you will be able to use [most of the ","directories":{},"maintainers":[{"name":"bbarthec","email":"bartlomiejbukowski.b@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"esamelson","email":"eric@expo.io"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"ijzerenhein","email":"hrutjes@gmail.com"},{"name":"jkhales","email":"jonathan@expo.io"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_nodeVersion":"14.3.0","dependencies":{"chalk":"^2.4.2","expo-asset":"~8.1.6","expo-constants":"~9.1.0","@unimodules/core":"~5.2.0","expo-file-system":"~9.0.0","expo-permissions":"~8.2.0","expo-image-loader":"~1.1.0","unimodules-app-loader":"~1.1.0","unimodules-font-interface":"~5.2.0","unimodules-camera-interface":"~5.2.0","unimodules-sensors-interface":"~5.2.0","unimodules-constants-interface":"~5.2.0","@unimodules/react-native-adapter":"~5.3.0","unimodules-file-system-interface":"~5.2.0","unimodules-permissions-interface":"~5.2.0","unimodules-image-loader-interface":"~5.2.0","unimodules-task-manager-interface":"~5.2.0","unimodules-face-detector-interface":"~5.2.0","unimodules-barcode-scanner-interface":"~5.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/react-native-unimodules_0.10.0_1590597018355_0.8065369168639789","host":"s3://npm-registry-packages"},"_id":"react-native-unimodules@0.10.0","version":"0.10.0"}