{"id":16530876,"url":"https://github.com/bufgix/react-native-secure-window","last_synced_at":"2025-03-16T19:31:39.872Z","repository":{"id":191828468,"uuid":"685756858","full_name":"bufgix/react-native-secure-window","owner":"bufgix","description":"Hide/Prevent react native views when capturing screen","archived":false,"fork":false,"pushed_at":"2023-09-01T08:44:18.000Z","size":2012,"stargazers_count":59,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T00:48:02.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bufgix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"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-09-01T00:07:45.000Z","updated_at":"2025-02-11T15:51:56.000Z","dependencies_parsed_at":"2024-10-27T11:22:30.738Z","dependency_job_id":null,"html_url":"https://github.com/bufgix/react-native-secure-window","commit_stats":null,"previous_names":["bufgix/react-native-secure-window"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Freact-native-secure-window","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Freact-native-secure-window/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Freact-native-secure-window/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Freact-native-secure-window/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufgix","download_url":"https://codeload.github.com/bufgix/react-native-secure-window/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826780,"owners_count":20354220,"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":"2024-10-11T18:07:23.606Z","updated_at":"2025-03-16T19:31:39.481Z","avatar_url":"https://github.com/bufgix.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-secure-window\n\nHide react native views with an overlay when capturing screen\n\n| iOS                                                                                                                                                      | Android                                                                                                                                                  |\n| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| \u003cvideo width=\"300\" height=\"500\" src=\"https://github.com/bufgix/react-native-secure-window/assets/22038798/127f6aa4-22ed-4684-b570-9168899683ed\"\u003e\u003c/video\u003e | \u003cvideo width=\"300\" height=\"500\" src=\"https://github.com/bufgix/react-native-secure-window/assets/22038798/7547dbcd-491d-46c5-93fb-d45d83eebce1\"\u003e\u003c/video\u003e |\n\n\n\n# Installation in bare React Native projects\n\nFor bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.\n\n# Installation in managed Expo projects\n\nFor managed Expo projects, no additional set up is necessary.\n\n### Add the package to your npm dependencies\n\n```bash\n## You must install expo-screen-capture first\nnpx expo install expo-screen-capture\nyarn add @bufgix/react-native-secure-window\n```\n\n### Configure for iOS\n\nRun `npx pod-install` after installing the npm package.\n\n### Configure for Android\n\nNo additional set up necessary.\n\n### Usage\n\n```tsx\nimport { Text, View } from \"react-native\";\nimport { SecureWindow } from \"@bufgix/react-native-secure-window\";\n\nexport default function App() {\n  return (\n    \u003cView style={styles.container}\u003e\n      \u003cSecureWindow\u003e\n        \u003cText\u003eThis text is protected by the SecureWindow\u003c/Text\u003e\n      \u003c/SecureWindow\u003e\n\n      \u003cText\u003eThis text is not protected by the SecureWindow\u003c/Text\u003e\n    \u003c/View\u003e\n  );\n}\n```\n\nfor Android, `\u003cSecureWindow /\u003e` component prevent _whole_ screen from capturing due to Android limitation.\n\n# Contributing\n\nContributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/bufgix/react-native-secure-window/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufgix%2Freact-native-secure-window","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufgix%2Freact-native-secure-window","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufgix%2Freact-native-secure-window/lists"}