{"_id":"react-native-android","_rev":"30-0ebd2e05d9a76e95b0293217602f8c84","name":"react-native-android","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"react-native-android","version":"1.0.0","description":"## Getting started","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native"],"author":"","license":"","peerDependencies":{"react-native":"^0.41.2","react-native-windows":"0.41.0-rc.1"},"_id":"react-native-android@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"},"dist":{"integrity":"sha512-MLmpIJ6GhoSyZDG3K98D/MmTBSqPl3UcS8Kge9YFFojrMo35jPRJ01E4RVg2G7A2P2Urpo14ks8MZwik8R9joA==","shasum":"7b9e31efa0462f990affb1985ca374d7ac28d685","tarball":"https://registry.npmjs.org/react-native-android/-/react-native-android-1.0.0.tgz","fileCount":20,"unpackedSize":34403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPdddSv10gXl7UM6a5Nkhuvv6msMRHnjzK51WVeZocXgIgcPR81v8NBjKps6lS8JXpFfd4aeUE2GwWuV+8e1Dz+zI="}]},"maintainers":[{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-android_1.0.0_1519635494545_0.579981472579336"},"_hasShrinkwrap":false,"deprecated":"This is not a valid version of 'react-native-android'"},"2.0.0":{"name":"react-native-android","version":"2.0.0","description":"## Getting started","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native"],"author":"","license":"","peerDependencies":{"react-native":"^0.41.2","react-native-windows":"0.41.0-rc.1"},"_id":"react-native-android@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"},"dist":{"integrity":"sha512-E7mr4PqRnDT7QsuWenQgsk7Y3zs18P0B0EmAad8dWl6LyLeq5Z5SUG5SEF77pJy3L6mWmC7pa4ODfdLzhGMGog==","shasum":"feb62cf83a198cc8d4c5c3ee7debeb3a372a498b","tarball":"https://registry.npmjs.org/react-native-android/-/react-native-android-2.0.0.tgz","fileCount":20,"unpackedSize":34413,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpfeXc2TSXiSyW4l6p8a5Y+JnJfYbJGdBDjsAcoB+roAiA+B4+NNS1PvCvs59FdSpMyLMIUqa2JYL81TZfqYZ3VDw=="}]},"maintainers":[{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-android_2.0.0_1519654058126_0.42360993397919766"},"_hasShrinkwrap":false,"deprecated":"This is not a valid version of 'react-native-android'"},"3.0.0":{"name":"react-native-android","version":"3.0.0","description":"## Getting started","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native"],"author":"","license":"","peerDependencies":{"react-native":"^0.41.2","react-native-windows":"0.41.0-rc.1"},"_id":"react-native-android@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"},"dist":{"integrity":"sha512-oo0z+u5NXqwMRuR/osRWgkK/giMwIIaoDqwPC1eo2iOL04EXwB0G3/eRosROVyus3vDyQKKMDe0PfDxCaDrKHg==","shasum":"d580ed38164cd38762f22385a8317c7b212cd19b","tarball":"https://registry.npmjs.org/react-native-android/-/react-native-android-3.0.0.tgz","fileCount":20,"unpackedSize":35331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJGPAWbkLlL1dDg0FcuR0mM+Pqb84yyiohhWFvcMkS5AiAIbxoCmN40LlsXIb9QTRLNrdJ9WVJfjkWDEjjpeS8XYw=="}]},"maintainers":[{"name":"dipesh_jayswal","email":"deepjayswal1@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-android_3.0.0_1519654087835_0.35214465686546115"},"_hasShrinkwrap":false,"deprecated":"This is not a valid version of 'react-native-android'"}},"time":{"created":"2018-02-26T08:58:14.544Z","1.0.0":"2018-02-26T08:58:14.639Z","modified":"2024-01-17T22:16:19.728Z","2.0.0":"2018-02-26T14:07:38.177Z","3.0.0":"2018-02-26T14:08:07.878Z"},"maintainers":[{"email":"opensource+react-native-bot@fb.com","name":"react-native-bot"},{"email":"opensource+npm@fb.com","name":"fb"}],"description":"## Getting started","keywords":["react-native"],"readme":"\n# react-native-android\n\n## Getting started\n\n`$ npm install react-native-android --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-android`\n\n### Manual installation\n\n\n#### iOS\n\n1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n2. Go to `node_modules` ➜ `react-native-android` and add `RNAndroid.xcodeproj`\n3. In XCode, in the project navigator, select your project. Add `libRNAndroid.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n4. Run your project (`Cmd+R`)<\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainActivity.java`\n  - Add `import com.reactlibrary.RNAndroidPackage;` to the imports at the top of the file\n  - Add `new RNAndroidPackage()` to the list returned by the `getPackages()` method\n2. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-android'\n  \tproject(':react-native-android').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-android/android')\n  \t```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-android')\n  \t```\n\n#### Windows\n[Read it! :D](https://github.com/ReactWindows/react-native)\n\n1. In Visual Studio add the `RNAndroid.sln` in `node_modules/react-native-android/windows/RNAndroid.sln` folder to their solution, reference from their app.\n2. Open up your `MainPage.cs` app\n  - Add `using Android.RNAndroid;` to the usings at the top of the file\n  - Add `new RNAndroidPackage()` to the `List<IReactPackage>` returned by the `Packages` method\n\n\n## Usage\n```javascript\nimport RNAndroid from 'react-native-android';\n\n// TODO: What to do with the module?\nRNAndroid;\n```\n  ","readmeFilename":"README.md"}