{"id":18455315,"url":"https://github.com/ganny26/react-native-android","last_synced_at":"2026-05-01T16:35:20.427Z","repository":{"id":41797470,"uuid":"175396811","full_name":"ganny26/react-native-android","owner":"ganny26","description":"Integrating react native to existing android application","archived":false,"fork":false,"pushed_at":"2023-01-03T17:45:32.000Z","size":989,"stargazers_count":2,"open_issues_count":16,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T18:59:59.632Z","etag":null,"topics":["android","react-native"],"latest_commit_sha":null,"homepage":null,"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/ganny26.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":"2019-03-13T10:18:56.000Z","updated_at":"2024-03-09T03:21:29.000Z","dependencies_parsed_at":"2023-02-01T08:31:04.287Z","dependency_job_id":null,"html_url":"https://github.com/ganny26/react-native-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ganny26/react-native-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganny26%2Freact-native-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganny26%2Freact-native-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganny26%2Freact-native-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganny26%2Freact-native-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ganny26","download_url":"https://codeload.github.com/ganny26/react-native-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganny26%2Freact-native-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32505108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["android","react-native"],"created_at":"2024-11-06T08:07:43.966Z","updated_at":"2026-05-01T16:35:20.414Z","avatar_url":"https://github.com/ganny26.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## React Native Android Setup on Existing App\n\nThis app demonstrates how to integrate a single activity with react native view\n\n### How to start\n\n* Open `rnapp/index.js`\n* Do required changes in `index.js` file\n\n\n### How to debug\n * Connect physical device and do `yarn start` from rnapp folder\n * To debug go to url `http://localhost:8081/debugger-ui/`\n\n * To view metro bundled js file `http://localhost:8081/index.delta?platform=android\u0026dev=true`\n\n * Inorder to reload js files on your activity\n type `adb shell input keyevent 82` it will enable debug menu to reload\n\n * If you are on emulator press `Command ⌘ + M`\n\n# Codepush Setup\n\n1. Generate JSK file\n\n```bash\nkeytool -genkey -alias \u003csome_name\u003e -keypass \u003csome_password\u003e -keyalg RSA -keystore codepushandroid.jks\n```\n\n2. Login to appcenter cli\n\n```bash\nnpm install -g appcenter-cli\nappcenter login\nappcenter apps list\nappcenter apps set-current \u003cyour_project\u003e\n```\n\n3. Create token \n\n```bash\nappcenter codepush deployment add -a \u003cyour_project\u003e Staging\nappcenter codepush deployment list --displayKeys\n```\n\n4. To upload `index.js` bundle \n\n```bash\ncode-push release-react \u003cyour_project\u003e android\n\n(or)\n\nappcenter codepush release-react -a \u003cyour_project\u003e -d Staging\n\n```\n\n### How to release\n\n * `yarn build` will generate bundle on `src/main/assets/index.android.bundle`\n * Then build signed APK\n\n## Release OTA using Azure\n\nhttps://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli\n\n ### Further references\n\n 1. https://facebook.github.io/react-native/docs/integration-with-existing-apps\n 2. https://medium.com/mindorks/react-native-integration-with-existing-app-f2757c2e672d\n 3. https://codeburst.io/integrating-react-native-into-an-existing-app-android-c27bb1b81574\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganny26%2Freact-native-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganny26%2Freact-native-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganny26%2Freact-native-android/lists"}