{"id":13401576,"url":"https://github.com/react-native-share/react-native-share","last_synced_at":"2026-05-04T14:02:03.482Z","repository":{"id":37597631,"uuid":"43406976","full_name":"react-native-share/react-native-share","owner":"react-native-share","description":"Social share, sending simple data to other apps.","archived":false,"fork":false,"pushed_at":"2026-04-10T08:07:08.000Z","size":15291,"stargazers_count":3879,"open_issues_count":24,"forks_count":977,"subscribers_count":57,"default_branch":"main","last_synced_at":"2026-04-10T10:18:57.353Z","etag":null,"topics":["android","bridge","intent","ios","react","react-native","share","uwp"],"latest_commit_sha":null,"homepage":"https://react-native-share.github.io/react-native-share","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/react-native-share.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-09-30T02:27:34.000Z","updated_at":"2026-04-10T08:06:17.000Z","dependencies_parsed_at":"2024-01-13T07:47:33.673Z","dependency_job_id":"7a9f2eaf-f17e-45e7-8358-1379746bd1b7","html_url":"https://github.com/react-native-share/react-native-share","commit_stats":{"total_commits":869,"total_committers":227,"mean_commits":3.828193832599119,"dds":0.8699654775604142,"last_synced_commit":"429e5cbed535e862781cd9fcf5d286e7d25b9984"},"previous_names":["react-native-community/react-native-share","estebanfuentealba/react-native-share"],"tags_count":153,"template":false,"template_full_name":null,"purl":"pkg:github/react-native-share/react-native-share","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-share%2Freact-native-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-share%2Freact-native-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-share%2Freact-native-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-share%2Freact-native-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-native-share","download_url":"https://codeload.github.com/react-native-share/react-native-share/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-share%2Freact-native-share/sbom","scorecard":{"id":46843,"data":{"date":"2025-08-04","repo":{"name":"github.com/react-native-share/react-native-share","commit":"c07effb753e48f8933b465c09b6b217855cd62a1"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.2,"checks":[{"name":"Code-Review","score":4,"reason":"Found 9/19 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Maintained","score":9,"reason":"8 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:16","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:17","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: example/android/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/docs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/react-native-share/react-native-share/stale.yml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v12.2.0 not signed: https://api.github.com/repos/react-native-share/react-native-share/releases/238082514","Warn: release artifact v12.1.2 not signed: https://api.github.com/repos/react-native-share/react-native-share/releases/236794684","Warn: release artifact v12.1.1 not signed: https://api.github.com/repos/react-native-share/react-native-share/releases/235112077","Warn: release artifact v12.1.0 not signed: https://api.github.com/repos/react-native-share/react-native-share/releases/225946487","Warn: release artifact v12.0.11 not signed: https://api.github.com/repos/react-native-share/react-native-share/releases/216980280","Warn: release artifact v12.2.0 does not have provenance: https://api.github.com/repos/react-native-share/react-native-share/releases/238082514","Warn: release artifact v12.1.2 does not have provenance: https://api.github.com/repos/react-native-share/react-native-share/releases/236794684","Warn: release artifact v12.1.1 does not have provenance: https://api.github.com/repos/react-native-share/react-native-share/releases/235112077","Warn: release artifact v12.1.0 does not have provenance: https://api.github.com/repos/react-native-share/react-native-share/releases/225946487","Warn: release artifact v12.0.11 does not have provenance: https://api.github.com/repos/react-native-share/react-native-share/releases/216980280"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 20 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T22:56:51.961Z","repository_id":37597631,"created_at":"2025-08-14T22:56:51.961Z","updated_at":"2025-08-14T22:56:51.961Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32610276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","bridge","intent","ios","react","react-native","share","uwp"],"created_at":"2024-07-30T19:01:04.279Z","updated_at":"2026-05-04T14:02:03.450Z","avatar_url":"https://github.com/react-native-share.png","language":"Java","funding_links":[],"categories":["Java","Libraries Used"],"sub_categories":[],"readme":"# react-native-share ![example workflow](https://github.com/react-native-share/react-native-share/actions/workflows/release.yml/badge.svg)\n [![npm version](https://badge.fury.io/js/react-native-share.svg)](http://badge.fury.io/js/react-native-share) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nReact Native Share, is a simple tool for sharing messages and files with other apps.\n\n# Getting started 🚀\n\n---\n\n## Expo Managed Workflow\n\nFor Expo projects, you will need to be on a managed workflow and use the following command:\n\n```shell\nnpx expo install react-native-share\n```\n\nConfigure you `app.config.ts` or `app.json` to use the permissions needed by the library:\n\n```json\n{\n  \"plugins\": [\n    [\n      \"react-native-share\",\n      {\n        \"ios\": [\n          \"fb\",\n          \"instagram\",\n          \"twitter\",\n          \"tiktoksharesdk\",\n        ],\n        \"android\": [\n          \"com.facebook.katana\",\n          \"com.instagram.android\",\n          \"com.twitter.android\",\n          \"com.zhiliaoapp.musically\",\n        ],\n        \"enableBase64ShareAndroid\": true\n      }\n    ]\n  ]\n}\n```\n\n`ios` parameter will take care of adding queries (LSApplicationQueriesSchemes) to the Info.plist.\n\n```xml\n\u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n\u003carray\u003e\n  \u003cstring\u003efb\u003c/string\u003e\n  \u003cstring\u003einstagram\u003c/string\u003e\n  \u003cstring\u003etwitter\u003c/string\u003e\n  \u003cstring\u003etiktoksharesdk\u003c/string\u003e\n\u003c/array\u003e\n```\n\n`android` parameter will take care of adding queries to the AndroidManifest.xml.\n\n```xml\n\u003cqueries\u003e\n  \u003cpackage android:name=\"com.facebook.katana\" /\u003e\n  \u003cpackage android:name=\"com.instagram.android\" /\u003e\n  \u003cpackage android:name=\"com.twitter.android\" /\u003e\n  \u003cpackage android:name=\"com.zhiliaoapp.musically\" /\u003e\n\u003c/queries\u003e\n```\n\n`enableBase64ShareAndroid` will take care of adding the permission to the AndroidManifest.xml.\n\n```xml\n\u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" /\u003e\n```\n\nAnd prebuild the project with `expo prebuild`.\n\n## Bare React Native\n\nIf you are using `react-native \u003e= 0.7X` and/or the new arch you just need to do a simple:\n\n```shell\nyarn add react-native-share\n```\n\nOr if are using npm:\n\n```shell\nnpm i react-native-share --save\n```\n\nAfter that, we need to install the dependencies to use the project on iOS(you can skip this part if you are using this on Android).\n\nNow run a simple: `npx pod-install` or `cd ios \u0026\u0026 pod install`. After that, you should be able to use the library on both Platforms, iOS and Android.\n\n# Usage\n\nThen simply import:\n\n```js\nimport Share from 'react-native-share';\n\nShare.open(options)\n  .then((res) =\u003e {\n    console.log(res);\n  })\n  .catch((err) =\u003e {\n    console.log(err);\n  });\n```\n\nWhich you do something similar to this:\n\n![example-ios](website/static/img/assets-docs/ios-readme-example.gif)\n\n# Documentation\n\nIf you are using a older version of `react-native` or `react-native-share`, having any problem or want to know how use `Share.open` and other functions, please refer to our new [docs](https://react-native-share.github.io/react-native-share) and help us improve that.🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-share%2Freact-native-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-native-share%2Freact-native-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-share%2Freact-native-share/lists"}