{"id":17957616,"url":"https://github.com/evanbacon/react-native-permissions-tutorial","last_synced_at":"2025-03-25T02:31:47.251Z","repository":{"id":105128872,"uuid":"158364171","full_name":"EvanBacon/react-native-permissions-tutorial","owner":"EvanBacon","description":"A tutorial on using permissions in React Native","archived":false,"fork":false,"pushed_at":"2018-11-20T09:43:16.000Z","size":4,"stargazers_count":12,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T07:32:23.692Z","etag":null,"topics":["android","app","expo","ios","permissions","react","reactnative","simple","tutorial","video"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/EvanBacon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2018-11-20T09:33:10.000Z","updated_at":"2023-09-16T18:49:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"242f6166-d814-4282-8022-d7baaf013b27","html_url":"https://github.com/EvanBacon/react-native-permissions-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Freact-native-permissions-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Freact-native-permissions-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Freact-native-permissions-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Freact-native-permissions-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvanBacon","download_url":"https://codeload.github.com/EvanBacon/react-native-permissions-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245385535,"owners_count":20606664,"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":["android","app","expo","ios","permissions","react","reactnative","simple","tutorial","video"],"created_at":"2024-10-29T10:55:51.180Z","updated_at":"2025-03-25T02:31:47.232Z","avatar_url":"https://github.com/EvanBacon.png","language":"JavaScript","readme":"# React Native Permissions Tutorial\n\nHey guys, here is the source code from my tutorial on using Permissions in React Native with `expo-permissions`. \n\n[![ding the bell](https://img.youtube.com/vi/-QQ4W1G9rYE/0.jpg)](https://www.youtube.com/watch?v=-QQ4W1G9rYE)\n\nIf you found it helpful, be sure to like and subscribe 👍😁\n\n## Quick Notes\n\n1. On iOS and on Android, if you change a system permission the app will restart. This means there is no need to observe AppState changing.\n2. The Linking API has a URI scheme for opening the settings, this is the best (really the only) way to approve a pemission that was denied.\n3. Make sure to change the permission message before submitting to the App Store. This will save you from a lot of heartache in the future, be very clear about what you want to do with said permission.\n4. A lot of popular apps (like Google apps) have a modal that says \"... Give us permissions ...\" Before actually prompting a user. The reason for this is that if the user denies the permission in this fake modal, then you can always show it to them again later. If a user actually wants to use the permission they will approve two modals. But if they don't, you can try and make the permission usage more enticing.\n\n## Hope this Helps! 😁\n\n* **Docs**: https://docs.expo.io/versions/latest/sdk/permissions\n* **Youtube video**: https://www.youtube.com/watch?v=-QQ4W1G9rYE\u0026feature=youtu.be\n* **Reddit post**: https://www.reddit.com/r/reactnative/comments/9yeyn2/how_to_use_native_permissions_with_expo/\n* **Snack**: https://snack.expo.io/@bacon/basic-permissions-example\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanbacon%2Freact-native-permissions-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanbacon%2Freact-native-permissions-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanbacon%2Freact-native-permissions-tutorial/lists"}