{"id":15122790,"url":"https://github.com/tiann/freereflection","last_synced_at":"2025-05-14T01:04:34.446Z","repository":{"id":37743313,"uuid":"136460624","full_name":"tiann/FreeReflection","owner":"tiann","description":"A library that lets you use reflection without any restriction above Android P","archived":false,"fork":false,"pushed_at":"2024-10-14T08:45:09.000Z","size":218,"stargazers_count":3033,"open_issues_count":4,"forks_count":552,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-04-03T09:39:29.689Z","etag":null,"topics":["android","hook","reflection"],"latest_commit_sha":null,"homepage":"","language":"C++","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/tiann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"weishu","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"http://paypal.me/virtualxposed"}},"created_at":"2018-06-07T10:22:44.000Z","updated_at":"2025-04-02T05:38:36.000Z","dependencies_parsed_at":"2022-07-20T00:34:23.698Z","dependency_job_id":"9ddfc0dc-0654-4ad1-b494-b6fd05c169ee","html_url":"https://github.com/tiann/FreeReflection","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiann%2FFreeReflection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiann%2FFreeReflection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiann%2FFreeReflection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiann%2FFreeReflection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiann","download_url":"https://codeload.github.com/tiann/FreeReflection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248228525,"owners_count":21068706,"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","hook","reflection"],"created_at":"2024-09-26T02:01:14.976Z","updated_at":"2025-04-10T13:51:35.215Z","avatar_url":"https://github.com/tiann.png","language":"C++","funding_links":["https://patreon.com/weishu","http://paypal.me/virtualxposed"],"categories":[],"sub_categories":[],"readme":"# FreeReflection\n\n**FreeReflection** is a library that lets you use reflection without any restriction above Android P (includes Q and R).\n\n## Usage\n\n1. Add it in your root build.gradle at the end of repositories(jitpack):\n\n```gradle\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\n2. Add dependency to your project(jcenter):\n\n```gradle\nimplementation 'com.github.tiann:FreeReflection:3.1.0'\n```\n\n3. Add one line to your `Application.attachBaseContext` :\n\n```java\n@Override\nprotected void attachBaseContext(Context base) {\n    super.attachBaseContext(base);\n    Reflection.unseal(base);\n}\n```\n\nThen you can use the reflection API normally, all the restrictions are gone. Enjoy yourself :)\n\n## Under the hood\n\n- [free reflection above android p](http://weishu.me/2018/06/07/free-reflection-above-android-p/)\n- [another way to use reflection api above android p](http://weishu.me/2019/03/16/another-free-reflection-above-android-p/)\n\n## Donations\n\nIf you like this project, buy me a cup of coffee! :)\n\nBitCoin: 39Wst8oL74pRP2vKPkPihH6RFQF4hWoBqU\n\n## License\n\nMIT License\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiann%2Ffreereflection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiann%2Ffreereflection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiann%2Ffreereflection/lists"}