{"id":28383731,"url":"https://github.com/pierrecapo/react-native-pictures","last_synced_at":"2025-07-18T23:07:45.011Z","repository":{"id":214533300,"uuid":"736769160","full_name":"PierreCapo/react-native-pictures","owner":"PierreCapo","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-29T23:07:08.000Z","size":1535,"stargazers_count":51,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T14:50:53.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/PierreCapo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-28T20:30:40.000Z","updated_at":"2025-05-03T11:28:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6cd587c-5421-492b-b6be-8d557c2541f5","html_url":"https://github.com/PierreCapo/react-native-pictures","commit_stats":null,"previous_names":["pierrecapo/react-native-pictures"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/PierreCapo/react-native-pictures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-pictures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-pictures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-pictures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-pictures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierreCapo","download_url":"https://codeload.github.com/PierreCapo/react-native-pictures/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-pictures/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793643,"owners_count":23829177,"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":[],"created_at":"2025-05-30T07:12:04.714Z","updated_at":"2025-07-18T23:07:45.003Z","avatar_url":"https://github.com/PierreCapo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Native-Pictures\n\n\u003cdiv align=\"center\"\u003e\n  \u003cvideo src=\"https://github.com/PierreCapo/react-native-pictures/assets/26744253/515ab32a-f0a2-4771-ad07-f494eee4e78d\"\u003e\u003c/video\u003e\n\u003c/div\u003e\n\nReact Native Pictures is a comprehensive toolkit for handling images within your React Native application. Our goal is to provide a modern, efficient codebase using Swift and Kotlin, offering common solutions for image-related features in your React Native app.\n\nThis library integrates a custom native iOS implementation and utilizes [PhotoView](https://github.com/Baseflow/PhotoView) on Android. Please note that this project is in its early stages—expect breaking changes before the release of v1.\n\n## Installation\n\n```sh\nnpm install react-native-pictures\n```\n\n## Usage\n\nHere's a simple example to showcase how you can use React Native Pictures in your app.\nIt's recommended that the viewer takes the entire available space:\n\n```js\nimport {PicturesViewer} from 'react-native-pictures';\n\n// ...\n\n\u003cPicturesViewer\n  imageUrl={\"https://w.wallhaven.cc/full/r4/wallhaven-r42m09.jpg\"}\n  style={{\n    width: \"100%\",\n    height: \"100%\"\n  }}\n/\u003e\n```\n\n## API\n\n### PicturesViewer\n\n| Props | Type | Description |\n| --- | --- | --- |\n| imageUrl | string | The remote image url you want to see |\n| style | ViewStyle | Style of PictureViewer.\n\n## Roadmap\n\n- **More controls:** Add ability to display local images, gesture event listeners, etc.\n- **Custom Android Implementation:** Replace PhotoView with a custom implementation, as PhotoView is no longer maintained.\n- **Image Cropping Feature:** Implement a cropping feature to leverage the pan and zoom capabilities, making it easier to integrate an image cropping screen.\n\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrecapo%2Freact-native-pictures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierrecapo%2Freact-native-pictures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrecapo%2Freact-native-pictures/lists"}