{"_id":"@bobbycolley/react-native-open-settings","_rev":"2-78eeca3a11cb0cfae70f036361ed8103","name":"@bobbycolley/react-native-open-settings","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.1":{"name":"@bobbycolley/react-native-open-settings","private":false,"version":"1.0.1","description":"Open app settings in react native","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native"],"author":{"name":"Robert Colley"},"license":"MIT","homepage":"https://github.com/NS-BOBBY-C/react-native-open-settings","repository":{"type":"git","url":"git+https://github.com/NS-BOBBY-C/react-native-open-settings.git"},"bugs":{"url":"https://github.com/NS-BOBBY-C/react-native-open-settings/issues"},"publishConfig":{"access":"public"},"gitHead":"3c656d91f91d70e534f3eabb1f6c863a89a50eb4","_id":"@bobbycolley/react-native-open-settings@1.0.1","_nodeVersion":"14.17.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-v7tXIxHWv7Ri5iuqwjJZjFwwEizQP7iBYit92dpHosbvgpG6zyk9fLqsKN+/5i4uKdgI2acu4eHB7cRGuqB88Q==","shasum":"f5e6696cf8fe62b748ce8c24ab05a3395c67c6c6","tarball":"https://registry.npmjs.org/@bobbycolley/react-native-open-settings/-/react-native-open-settings-1.0.1.tgz","fileCount":15,"unpackedSize":78963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAZa/CRA9TVsSAnZWagAAhr4P/j58B95cF8oyFGewLBWe\nOKHeqBdZlNYInlZDE/wMRQoNKRY0beWxqsPLMB1StqitXEYcZ6+ESvZP1H1+\n87Za1moRjs+3tjIOuTko8JhFJ/J6FvTR3W3taLqqEscygJaDRhKs6wiw7aVr\npMoIzjo7uSG3DB8jyJlwQ/8fjNdQWhfhpMWLUe29c0uvVgWyeGqkto5JBViS\nc+nkEU+tibLnwhUlNdUT84SdyRBwjSLzqFqMxPjQCQk/zW5AlsftE8BEZi58\nTOD+9xIYXkWr/u/NIT1MSVrA+hk1yVKAIU+uzjoQAEb19Eo/eaTNEKYfWTfd\nDBQgj76pSg9Qix1PD8T1tbW7lew3TAXpCO3zk06ZHi1F1xlY5+k1VawZjqlU\nup7diMFWVije9owwfIr/QkQAlX/8ODpCdotX6YzzCuJgYhfai9Xzs+ExmTCr\nCcQX2dKFT7u2w4+5YuWtxhuYJzAyhoUjYM7hZ+nO4CF+CrO4go90CIQ868Gr\nDtgRuG9gU5yQeqxr7Dmbl9uBNlpU+zcK4uS8yXR1BbkbZ9bK/X7JTh9MJsaR\nStAufqsFwTE1lZVTamLp5HUVlqLFrvN8yh3UlDHpkdNtQzB72D7zDnbospwy\nk4oQ70itugTIXSFlxXkly2e0eBFIXdi8n3UO8Cz8QXq+/YSAO27eSaRmnmoF\nIED7\r\n=O9Vf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD22qapNTZYRPYwRNPg66BeUw4dvuKmapS92lWn6FyDVQIgZEZpATXcGh7ETtbWrtR1OEJwovr0HzgiZFIM0hMhZzE="}]},"_npmUser":{"name":"bobbycolley","email":"robertcolley04@gmail.com"},"directories":{},"maintainers":[{"name":"bobbycolley","email":"robertcolley04@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-open-settings_1.0.1_1627494079342_0.6501515871019286"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bobbycolley/react-native-open-settings","private":false,"version":"1.1.0","description":"Open app settings in react native","main":"index.js","scripts":{"release":"release-it","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native"],"author":{"name":"Robert Colley"},"license":"MIT","homepage":"https://github.com/NS-BOBBY-C/react-native-open-settings","repository":{"type":"git","url":"git+https://github.com/NS-BOBBY-C/react-native-open-settings.git"},"bugs":{"url":"https://github.com/NS-BOBBY-C/react-native-open-settings/issues"},"publishConfig":{"access":"public"},"devDependencies":{"release-it":"^14.10.1"},"gitHead":"6caa35db821921918b2656430b7db933972d6dba","_id":"@bobbycolley/react-native-open-settings@1.1.0","_nodeVersion":"14.17.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-gXRLLx3BQVl6SxbMsFMnZ/HqSA9xhRK7ib9+Q4GMp2anvr9wddtWZQG1WBmuyS/fdqbBv3YqC+5STORLAYUf1Q==","shasum":"c209f51e8579e543a629795882c7174796091cea","tarball":"https://registry.npmjs.org/@bobbycolley/react-native-open-settings/-/react-native-open-settings-1.1.0.tgz","fileCount":18,"unpackedSize":80390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAZz3CRA9TVsSAnZWagAAGRAP/jvPSJbAelv9XlyqSVpS\nwCjZ/xd0hO8oaRhddHNsLAlRIBmNpm5bWkuC2aUqtJ3IlJ9E+nRRExfgdBCn\nqY4ndOVjHuAU0/ViZ/Zn0L6tcmASuJF+hrcdghhuhHX14DkVeh2VumGxsN46\nnFdpLTi+Lpii5chebMmPGktm+RsO9eJEQ9GdRqydLxN8a1ykVcQ0kVA3YAQO\nPWKMsCdYSvSZZZCUYmSU/0n4NR/gdG8ERn7ibMaxRKpGaVKxO0mykOBMX9XT\ncwnKfASaWqzPvXf/3m39uyGCABYyZU5YnJsfdsjNkoDNfdcIwjeOqpZZQul9\nqwu03Ut4OBfJj0uFxxzrU3ws0mySWja5GC+HvpLzFe2dkXjWzor8QORxSKY/\nEBUaXhEC+aExxmkBAgu0w6tmSCKIA4f0OC7ENfFuVyEXRB2MVTIwgHngeTfC\ntli56EdpIHb76THHsdJm2TFfxlWxB6TdZXtILDhUsbS73vMk7g4l1+Q02ood\n2efXlpR4PCS1JFL4oiAL4ZkNee7LEcSKi6PB/isUXClk+cOotjHR5woHA6bS\nHPQV6ILkdeG0PVEjEhAoKgN7Rp18HEtBpBXrDcTK6A6mZ8c76v0Ly7X9k57R\ne/TVnP2HD/kz0H89n5OoJ4MW0x7VnX6mM5HXprVQnOVW+UQFbXAZr3NIHdUh\ntaY/\r\n=/vxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm1FfmniwLjtnGIso/cwpH+j0FxXsPxrCiyrmHcT0lzQIgWZkNV8pR5sADq2Ut1Ue4De5qmJeJZaxNTib8Akiv+dM="}]},"_npmUser":{"name":"bobbycolley","email":"robertcolley04@gmail.com"},"directories":{},"maintainers":[{"name":"bobbycolley","email":"robertcolley04@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-open-settings_1.1.0_1627495671604_0.33927836418207113"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-28T17:41:19.302Z","1.0.1":"2021-07-28T17:41:19.472Z","modified":"2022-04-04T19:55:19.417Z","1.1.0":"2021-07-28T18:07:51.782Z"},"maintainers":[{"name":"bobbycolley","email":"robertcolley04@gmail.com"}],"description":"Open app settings in react native","homepage":"https://github.com/NS-BOBBY-C/react-native-open-settings","keywords":["react-native"],"repository":{"type":"git","url":"git+https://github.com/NS-BOBBY-C/react-native-open-settings.git"},"author":{"name":"Robert Colley"},"bugs":{"url":"https://github.com/NS-BOBBY-C/react-native-open-settings/issues"},"license":"MIT","readme":"# @bobbycolley/react-native-open-settings\n\nForked and up-to-date package for [react-native-open-settings](https://github.com/lunarmayor/react-native-open-settings)\n\n[![npm version](https://badge.fury.io/js/%40bobbycolley%2Freact-native-open-settings.svg)](https://badge.fury.io/js/%40bobbycolley%2Freact-native-open-settings)\n\nOpen your apps settings in the Settings app\n\n## Install\n\n### Yarn\n\n```bash\nyarn add @bobbycolley/react-native-open-settings\n```\n\n### NPM\n\n```bash\nnpm install @bobbycolley/react-native-open-settings\n```\n\n## Setup\n\n### Autolinking\n\n### iOS\n\n```bash\ncd ios\npod install\n```\n\nThats it! You don't need to do anything else.\n\n### Manual Setup\n\n#### iOS\n\nAdd `React Native Open Settings` to project libraries.\n\n#### Android\n\n- Edit `build.gradle` to look like this:\n\n```java\napply plugin: 'com.android.application'\n\nandroid {\n  ...\n}\n\ndependencies {\n  ...\n+ compile project(':react-native-open-settings')\n}\n```\n\n- In `settings.gradle`, insert the following code:\n\n```java\ninclude ':react-native-open-settings'\nproject(':react-native-open-settings').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-open-settings/android')\n```\n\n- Edit your `MainApplication.java` to look like this:\n\n```java\npackage com.myapp;\n\n....\nimport com.opensettings.OpenSettingsPackage\n\npublic class MainApplication extends Application implements ReactApplication {\n\n    @Override\n    protected List<ReactPackage> getPackages() {\n        return Arrays.<ReactPackage>asList(\n                new MainReactPackage(),\n                new OpenSettingsPackage()\n        );\n    }\n    ...\n}\n```\n\n## Usage\n\nRequire the `@bobbycolley/react-native-open-settings` module.\n\n```javascript\nimport OpenSettings from \"@bobbycolley/react-native-open-settings\";\n```\n\nAnd then, where you want to open the settings, just do\n\n```javascript\nOpenSettings.openSettings();\n```\n\nHave fun!\n\n## TODO\n\n- [x] Update README\n- [x] Add MIT License\n- [ ] Update with PR's from react-native-open-settings\n- [ ] Add tests\n","readmeFilename":"README.md"}