{"id":13724769,"url":"https://github.com/jstokes/rn-installed-apps","last_synced_at":"2025-07-14T16:30:43.949Z","repository":{"id":57337729,"uuid":"82421535","full_name":"jstokes/rn-installed-apps","owner":"jstokes","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-24T00:06:51.000Z","size":19,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T11:05:32.063Z","etag":null,"topics":["android","packages","react","react-native"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jstokes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-18T23:02:08.000Z","updated_at":"2021-09-05T21:57:34.000Z","dependencies_parsed_at":"2022-09-14T19:12:04.107Z","dependency_job_id":null,"html_url":"https://github.com/jstokes/rn-installed-apps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jstokes/rn-installed-apps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstokes%2Frn-installed-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstokes%2Frn-installed-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstokes%2Frn-installed-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstokes%2Frn-installed-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstokes","download_url":"https://codeload.github.com/jstokes/rn-installed-apps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstokes%2Frn-installed-apps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265318862,"owners_count":23746226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","packages","react","react-native"],"created_at":"2024-08-03T01:02:03.178Z","updated_at":"2025-07-14T16:30:43.670Z","avatar_url":"https://github.com/jstokes.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"\n# react-native-installed-packages\n\n## Getting started\n\n`$ npm install react-native-installed-packages --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-installed-packages`\n\n### Manual installation\n\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainActivity.java`\n  - Add `import com.jstokes.RNInstalledAppsPackage;` to the imports at the top of the file\n  - Add `new RNInstalledAppsPackage()` to the list returned by the `getPackages()` method\n2. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-installed-packages'\n  \tproject(':react-native-installed-packages').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-installed-packages/android')\n  \t```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-installed-packages')\n  \t```\n\n## Usage\n```javascript\nvar InstalledApps = require('react-native-installed-packages');\n\nconsole.log(\"All packages\", InstalledApps.getApps);\nconsole.log(\"User packages\", InstalledApps.getNonSystemApps);\n```\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstokes%2Frn-installed-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstokes%2Frn-installed-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstokes%2Frn-installed-apps/lists"}