{"id":41461321,"url":"https://github.com/binarapps/react-native-images-gallery","last_synced_at":"2026-01-23T15:51:32.827Z","repository":{"id":63172289,"uuid":"557188293","full_name":"binarapps/react-native-images-gallery","owner":"binarapps","description":"Gallery component for react native apps","archived":false,"fork":false,"pushed_at":"2023-07-11T15:28:05.000Z","size":1046,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-05T23:02:03.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/binarapps.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}},"created_at":"2022-10-25T08:30:02.000Z","updated_at":"2023-07-14T09:28:41.000Z","dependencies_parsed_at":"2023-02-10T11:01:19.880Z","dependency_job_id":null,"html_url":"https://github.com/binarapps/react-native-images-gallery","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/binarapps/react-native-images-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarapps%2Freact-native-images-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarapps%2Freact-native-images-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarapps%2Freact-native-images-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarapps%2Freact-native-images-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binarapps","download_url":"https://codeload.github.com/binarapps/react-native-images-gallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarapps%2Freact-native-images-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-23T15:51:32.671Z","updated_at":"2026-01-23T15:51:32.816Z","avatar_url":"https://github.com/binarapps.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @binarapps/react-native-images-gallery\n\n[![MIT License](https://img.shields.io/npm/l/@binarapps/react-native-images-gallery?style=flat-square)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)\n[![MIT License](https://img.shields.io/npm/v/@binarapps/react-native-images-gallery?style=flat-square)](https://img.shields.io/npm/v/@binarapps/react-native-images-gallery?style=flat-square)\n[![MIT License](https://img.shields.io/npm/dt/@binarapps/react-native-images-gallery?style=flat-square)](https://img.shields.io/npm/dt/@binarapps/react-native-images-gallery?style=flat-square)\n[![MIT License](https://img.shields.io/github/stars/binarapps/react-native-images-gallery?style=flat-square)](https://img.shields.io/github/stars/binarapps/react-native-images-gallery?style=flat-square)\n[![runs with Expo Go](https://img.shields.io/badge/Runs%20with%20Expo%20Go-4630EB.svg?style=flat-square\u0026logo=EXPO\u0026labelColor=f3f3f3\u0026logoColor=000)](https://expo.dev/client)\n\nimages gallery component\n\n![hippo](https://thumbs.gfycat.com/BouncyShabbyDoctorfish-max-1mb.gif)\n![hippo](https://thumbs.gfycat.com/FrightenedHighAsiansmallclawedotter-max-1mb.gif)\n![hippo](https://thumbs.gfycat.com/GrotesqueUnawareGrassspider-max-1mb.gif)\n\n## Installation\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpo\u003c/summary\u003e\n  \n```bash\nexpo install react-native-gesture-handler @shopify/flash-list react-native-reanimated react-native-safe-area-context\n## only if using expo-dev-client\nexpo prebuild\n```\n\n#### via Yarn\n\n```bash\nyarn add @binarapps/react-native-images-gallery\n```\n\n#### via npm\n\n```sh\nnpm install @binarapps/react-native-images-gallery\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eReact native\u003c/summary\u003e\n    \n#### via Yarn\n\n```sh\nyarn add react-native-gesture-handler @shopify/flash-list react-native-reanimated react-native-safe-area-context\n```\n\n```sh\nyarn add @binarapps/react-native-images-gallery\n```\n\n#### via npm\n\n```sh\nnpm install react-native-gesture-handler @shopify/flash-list react-native-reanimated react-native-redash react-native-safe-area-context\n```\n\n```sh\nnpm install @binarapps/react-native-images-gallery\n```\n\n#### Add Reanimated's Babel plugin to your babel.config.js:\n\n```js\n  module.exports = {\n    presets: [\n      ...\n    ],\n    plugins: [\n      ...\n      'react-native-reanimated/plugin',\n    ],\n  };\n```\n\n  \u003c/details\u003e\n\n### Wrap your app with SafeAreaProvider\n\n```js\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\n\nfunction App() {\n  return \u003cSafeAreaProvider\u003e...\u003c/SafeAreaProvider\u003e;\n}\n```\n\n## Examples\n\n### Usage with images\n\n```js\nimport * as React from 'react';\n\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\n\nimport { StyleSheet, View, Text, TouchableOpacity } from 'react-native';\nimport Gallery from '@binarapps/react-native-images-gallery';\n\nexport default function App() {\n  const [isGalleryVisible, setIsGalleryVisible] = React.useState(false);\n\n  const images = [\n    {\n      uri: 'https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Image_created_with_a_mobile_phone.png/640px-Image_created_with_a_mobile_phone.png',\n      name: 'name',\n      description: 'string',\n    },\n    {\n      uri: 'https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg',\n      name: 'name',\n      description: 'string',\n    },\n  ];\n\n  return (\n    \u003cSafeAreaProvider\u003e\n      \u003cView style={styles.container}\u003e\n        {isGalleryVisible \u0026\u0026 (\n          \u003cGallery\n            handleCloseGallery={() =\u003e setIsGalleryVisible(false)}\n            images={images}\n          /\u003e\n        )}\n        {!isGalleryVisible \u0026\u0026 (\n          \u003cTouchableOpacity onPress={() =\u003e setIsGalleryVisible(true)}\u003e\n            \u003cText\u003eOpen Gallery\u003c/Text\u003e\n          \u003c/TouchableOpacity\u003e\n        )}\n      \u003c/View\u003e\n    \u003c/SafeAreaProvider\u003e\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    alignItems: 'center',\n    justifyContent: 'center',\n  },\n});\n```\n\n## Troubleshooting\n\n### Cannot convert undefined or null to Object in JavaScript\n\nChange node version to v16.18.0\nhttps://apple.stackexchange.com/questions/171530/how-do-i-downgrade-node-or-install-a-specific-previous-version-using-homebrew\n\n## Contributors\n\n- [Damian Piętka](https://www.github.com/oscris1) - @oscris1\n- [Mateusz Rostkowski](https://www.github.com/MateuszRostkowski) - @MateuszRostkowski\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%2Fbinarapps%2Freact-native-images-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarapps%2Freact-native-images-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarapps%2Freact-native-images-gallery/lists"}