{"id":3945,"url":"https://github.com/gre/gl-react-native-v2","last_synced_at":"2025-09-27T08:30:38.065Z","repository":{"id":36601297,"uuid":"40907450","full_name":"gre/gl-react-native-v2","owner":"gre","description":"DEPRECATED, Please migrate to latest version of gl-react-native that works nicely with expo-gl and unimodules","archived":true,"fork":false,"pushed_at":"2020-01-01T15:09:12.000Z","size":66047,"stargazers_count":1926,"open_issues_count":0,"forks_count":174,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-09-07T08:03:04.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/gre/gl-react","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/gre.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}},"created_at":"2015-08-17T15:49:08.000Z","updated_at":"2025-09-03T09:06:49.000Z","dependencies_parsed_at":"2022-08-30T15:31:18.908Z","dependency_job_id":null,"html_url":"https://github.com/gre/gl-react-native-v2","commit_stats":null,"previous_names":["projectseptemberinc/gl-react-native"],"tags_count":83,"template":false,"template_full_name":null,"purl":"pkg:github/gre/gl-react-native-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fgl-react-native-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fgl-react-native-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fgl-react-native-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fgl-react-native-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gre","download_url":"https://codeload.github.com/gre/gl-react-native-v2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fgl-react-native-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274723629,"owners_count":25337962,"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-09-11T02:00:13.660Z","response_time":74,"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":"2024-01-05T20:16:56.127Z","updated_at":"2025-09-27T08:30:33.057Z","avatar_url":"https://github.com/gre.png","language":"Java","readme":"**This repository hosts the v2 of gl-react. Please also see the v3 at https://github.com/gre/gl-react**\n\n\n**[Gitbook documentation](https://github.com/ProjectSeptemberInc/gl-react/tree/master/docs) / [Github](https://github.com/ProjectSeptemberInc/gl-react-native/) / [gl-react](https://github.com/ProjectSeptemberInc/gl-react/)** / [#gl-react on reactiflux](https://discordapp.com/channels/102860784329052160/106102146109325312)\n\n# \u003cimg width=\"32\" alt=\"icon\" src=\"https://cloud.githubusercontent.com/assets/211411/9813786/eacfcc24-5888-11e5-8f9b-5a907a2cbb21.png\"\u003e gl-react-native ![](https://img.shields.io/badge/react--native-%200.42.x-05F561.svg) ![](https://img.shields.io/badge/gl--react-%202.2.x-05F561.svg)\n\nOpenGL bindings for React Native to implement complex effects over images and components, in the descriptive VDOM paradigm.\n\n**`gl-react-native` is an implementation of `gl-react` for `react-native`. Please [read the main gl-react README](https://github.com/ProjectSeptemberInc/gl-react/) for more information.**\n\n[![](https://github.com/ProjectSeptemberInc/gl-react-native/raw/master/docs/simple.gif)](./example)[![](https://github.com/ProjectSeptemberInc/gl-react-native/raw/master/docs/advancedeffects.gif)](./example)\n\n## Documentation\n\n[**doc**](https://github.com/ProjectSeptemberInc/gl-react/tree/master/docs)\n\n## Installation\n\n```\nnpm i --save gl-react-native\n```\n\n### Configure your React Native Application\n\n**on iOS:**\n\n![](https://github.com/ProjectSeptemberInc/gl-react-native/raw/master/docs/install-steps.png)\n\nor if you use Cocapods:\n\n```ruby\npod 'RNGL', :path =\u003e './node_modules/gl-react-native'\n```\n\n**on Android:**\n\n1. `android/settings.gradle`:: Add the following snippet\n```gradle\ninclude ':RNGL'\nproject(':RNGL').projectDir = file('../node_modules/gl-react-native/android')\n```\n2. `android/app/build.gradle`: Add in dependencies block.\n```gradle\ncompile project(':RNGL')\n```\n3. in your `MainApplication` (or equivalent) the RNGLPackage needs to be added. Add the import at the top:\n```java\nimport com.projectseptember.RNGL.RNGLPackage;\n```\n4. In order for React Native to use the package, add it the packages inside of the class extending ReactActivity.\n```java\n@Override\nprotected List\u003cReactPackage\u003e getPackages() {\n  return Arrays.\u003cReactPackage\u003easList(\n\tnew MainReactPackage(),\n\t...\n\tnew RNGLPackage()\n  );\n}\n```\n","funding_links":[],"categories":["Components","Java"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Fgl-react-native-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgre%2Fgl-react-native-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Fgl-react-native-v2/lists"}