{"id":24778245,"url":"https://github.com/marcoscgdev/easypermissions","last_synced_at":"2026-02-22T14:02:02.748Z","repository":{"id":144174236,"uuid":"80355738","full_name":"marcoscgdev/EasyPermissions","owner":"marcoscgdev","description":"An extremely simple and lightweight android library that helps you with Android Runtime Permissions.","archived":false,"fork":false,"pushed_at":"2017-01-29T16:18:26.000Z","size":1042,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T11:59:25.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/marcoscgdev/EasyPermissions","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoscgdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-01-29T16:06:38.000Z","updated_at":"2023-02-09T14:38:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"89adde8b-b826-4932-9650-9c52a5b941d1","html_url":"https://github.com/marcoscgdev/EasyPermissions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marcoscgdev/EasyPermissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyPermissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyPermissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyPermissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyPermissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoscgdev","download_url":"https://codeload.github.com/marcoscgdev/EasyPermissions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyPermissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009768,"owners_count":26084648,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-01-29T08:18:17.229Z","updated_at":"2025-10-12T01:32:08.799Z","avatar_url":"https://github.com/marcoscgdev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy Permissions\n\nAn extremely simple and lightweight android library that helps you with Android Runtime Permissions.\n\n---\n\n## Usage:\n\n### Adding the depencency\n\nAdd this to your root *build.gradle* file:\n\n```\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\nNow add the dependency to your app build.gradle file:\n\n```\ncompile 'com.github.marcoscgdev:EasyPermissions:1.2'\n```\n\n### Request permissions\n\n```\nString[] permissions = {EasyPermissions.WRITE_EXTERNAL_STORAGE, EasyPermissions.ACCESS_FINE_LOCATION, ...};\nint requestCode = 0;\nEasyPermissions.requestPermissions(activity, permissions, requestCode);\n```\n\n### \n\n```\n@Override\npublic void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {\n    super.onRequestPermissionsResult(requestCode, permissions, grantResults);\n    for (int i = 0; i \u003c permissions.length; i++) {\n        String permission = permissions[i];\n        int grantResult = grantResults[i];\n        if (permission.equals(EasyPermissions.WRITE_EXTERNAL_STORAGE)) {\n            if (grantResult == PackageManager.PERMISSION_GRANTED) {\n                Toast.makeText(MainActivity.this, \"WRITE_EXTERNAL_STORAGE Granted\", Toast.LENGTH_LONG).show();\n            }\n        }\n    }\n}\n```\n\n---\n\n##License\n\n```\nCopyright 2017 Marcos Calvo García\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscgdev%2Feasypermissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoscgdev%2Feasypermissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscgdev%2Feasypermissions/lists"}