{"id":13724765,"url":"https://github.com/zoontek/react-native-dev-menu","last_synced_at":"2025-10-09T05:30:28.661Z","repository":{"id":27944518,"uuid":"115654722","full_name":"zoontek/react-native-dev-menu","owner":"zoontek","description":"Add custom items to the React Native dev menu.","archived":true,"fork":false,"pushed_at":"2023-12-01T09:52:47.000Z","size":1406,"stargazers_count":205,"open_issues_count":3,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-04T00:32:54.729Z","etag":null,"topics":["android","ios","react-native"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoontek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["zoontek"]}},"created_at":"2017-12-28T19:49:37.000Z","updated_at":"2025-01-30T22:05:33.000Z","dependencies_parsed_at":"2024-01-10T07:03:11.983Z","dependency_job_id":"b95eaaf5-c5cb-4580-983f-08349225b16c","html_url":"https://github.com/zoontek/react-native-dev-menu","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/zoontek/react-native-dev-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Freact-native-dev-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Freact-native-dev-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Freact-native-dev-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Freact-native-dev-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoontek","download_url":"https://codeload.github.com/zoontek/react-native-dev-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Freact-native-dev-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000745,"owners_count":26082932,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ios","react-native"],"created_at":"2024-08-03T01:02:03.126Z","updated_at":"2025-10-09T05:30:28.170Z","avatar_url":"https://github.com/zoontek.png","language":"Java","funding_links":["https://github.com/sponsors/zoontek"],"categories":["Java"],"sub_categories":[],"readme":"\u003e ⚠️ This package is deprecated in favor of [`DevSettings`](https://reactnative.dev/docs/devsettings)\n\n---\n\n# 📳 react-native-dev-menu\n\n[![mit licence](https://img.shields.io/dub/l/vibe-d.svg?style=for-the-badge)](https://github.com/zoontek/react-native-dev-menu/blob/main/LICENSE)\n[![npm version](https://img.shields.io/npm/v/react-native-dev-menu?style=for-the-badge)](https://www.npmjs.org/package/react-native-dev-menu)\n[![npm downloads](https://img.shields.io/npm/dt/react-native-dev-menu.svg?label=downloads\u0026style=for-the-badge)](https://www.npmjs.org/package/react-native-dev-menu)\n\u003cbr /\u003e\n[![platform - android](https://img.shields.io/badge/platform-Android-3ddc84.svg?logo=android\u0026style=for-the-badge)](https://www.android.com)\n[![platform - ios](https://img.shields.io/badge/platform-iOS-000.svg?logo=apple\u0026style=for-the-badge)](https://developer.apple.com/ios)\n\nAdd custom items to the React Native dev menu.\u003cbr /\u003e\nThe native part of this module is a variation of [react-native-async-storage-dev-menu-item](https://github.com/jsoendermann/react-native-async-storage-dev-menu-item/).\n\n![](https://github.com/zoontek/react-native-dev-menu/blob/master/docs/screenshots.png?raw=true)\n\n## Support\n\n| Version | React Native Support |\n| ------- | -------------------- |\n| 4.0.0+  | 0.61.0+              |\n\n## Setup\n\n```bash\n$ npm install --save react-native-dev-menu\n# --- or ---\n$ yarn add react-native-dev-menu\n```\n\n_Don't forget to run `pod install` after that !_\n\n## 🆘  Manual linking\n\nBecause this package targets React Native 0.61.0+, you will probably don't need to link it manually. Otherwise if it's not the case, follow this additional instructions:\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003e👀 See manual linking instructions\u003c/b\u003e\u003c/summary\u003e\n\n### iOS\n\nAdd this line to your `ios/Podfile` file, then run `pod install`.\n\n```bash\ntarget 'YourAwesomeProject' do\n  # …\n  pod 'RNDevMenu', :path =\u003e '../node_modules/react-native-dev-menu'\nend\n```\n\n### Android\n\n1. Add the following lines to `android/settings.gradle`:\n\n```gradle\ninclude ':react-native-dev-menu'\nproject(':react-native-dev-menu').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dev-menu/android')\n```\n\n2. Add the implementation line to the dependencies in `android/app/build.gradle`:\n\n```gradle\ndependencies {\n  // ...\n  implementation project(':react-native-dev-menu')\n}\n```\n\n3. Add the import and link the package in `MainApplication.java`:\n\n```java\nimport com.zoontek.rndevmenu.RNDevMenuPackage; // \u003c- add the RNDevMenuPackage import\n\npublic class MainApplication extends Application implements ReactApplication {\n\n  // …\n\n  @Override\n  protected List\u003cReactPackage\u003e getPackages() {\n    @SuppressWarnings(\"UnnecessaryLocalVariable\")\n    List\u003cReactPackage\u003e packages = new PackageList(this).getPackages();\n    // …\n    packages.add(new RNDevMenuPackage());\n    return packages;\n  }\n\n  // …\n}\n```\n\n\u003c/details\u003e\n\n## Usage\n\n```ts\nimport DevMenu from \"react-native-dev-menu\";\n\nif (__DEV__) {\n  DevMenu.addItem(\"Say Hello\", () =\u003e alert(\"Hello!\"));\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoontek%2Freact-native-dev-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoontek%2Freact-native-dev-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoontek%2Freact-native-dev-menu/lists"}