{"id":31952849,"url":"https://github.com/batchlabs/batch-reactnative-plugin-sample","last_synced_at":"2025-10-14T13:25:20.687Z","repository":{"id":91317604,"uuid":"425893434","full_name":"BatchLabs/Batch-ReactNative-Plugin-Sample","owner":"BatchLabs","description":"Sample app for Batch's React Native Plugin","archived":false,"fork":false,"pushed_at":"2025-09-18T13:09:47.000Z","size":3149,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-29T23:55:35.554Z","etag":null,"topics":["batch","react-native","sample"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/BatchLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2021-11-08T15:33:09.000Z","updated_at":"2025-06-10T09:34:30.000Z","dependencies_parsed_at":"2024-05-02T17:33:44.565Z","dependency_job_id":"edc57e3e-011e-4ed9-a5a0-5d04cfd12a51","html_url":"https://github.com/BatchLabs/Batch-ReactNative-Plugin-Sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BatchLabs/Batch-ReactNative-Plugin-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2FBatch-ReactNative-Plugin-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2FBatch-ReactNative-Plugin-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2FBatch-ReactNative-Plugin-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2FBatch-ReactNative-Plugin-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BatchLabs","download_url":"https://codeload.github.com/BatchLabs/Batch-ReactNative-Plugin-Sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2FBatch-ReactNative-Plugin-Sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018708,"owners_count":26086606,"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-14T02:00:06.444Z","response_time":60,"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":["batch","react-native","sample"],"created_at":"2025-10-14T13:24:52.967Z","updated_at":"2025-10-14T13:25:20.682Z","avatar_url":"https://github.com/BatchLabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://static.batch.com/documentation/Readmes/logo_batch_full_178@2x.png\" srcset=\"https://static.batch.com/documentation/Readmes/logo_batch_full_178.png 1x\" width=\"178\" height=\"68\" alt=\"Batch Logo\" /\u003e\n\n# Batch React-Native Sample\n\nSample project using [Batch.com](https://batch.com/) platform built with react-native framework. \n\n## Getting Started\n\n### Prerequisites\n-   Install Node \u0026 Watchman\n-   Install Android Studio and platform dependencies\n-   Install Xcode and platform dependencies\n\nFor more information, please follow the react-native [documentation](https://reactnative.dev/docs/environment-setup)\n\nThis sample run on: \n\n- React 17.0.2\n- React-native 0.66.2\n- Node : 16.2.0\n\n### Installing\n\n1. Run `npm install` from the project root and install the dependencies:\n```\nnpm install \n```\n\n2. Install iOS native dependencies with cocoapods from the ios folder :\n```\n cd ios\n pod install\n```\n\n## Setting up your APIKey\n\n- On iOS, look for your `Info.plist` and add the following:\n\n```bash\n\u003ckey\u003eBatchAPIKey\u003c/key\u003e\n\u003cstring\u003eYOUR_BATCH_API_KEY\u003c/string\u003e\n````\n\n- On Android, open `android/app/build.gradle` and add:\n\n```groovy\ndefaultConfig {\n    ...\n    resValue \"string\", \"BATCH_API_KEY\", \"YOUR_BATCH_API_KEY\"\n}\n```\n\n## Add you Firebase config\n\nAdd the `google-services.json` file to `/android/app`\n\n## Run\n\nIf you previously installed a global `react-native-cli` package, please remove it and use the built-in command line interface.\n\nYou can run the app on simulator using the react-native commands:\n\nFor iOS:\n```\nnpx react-native run-ios\n```\nFor Android:\n```\nnpx react-native run-android\n```\n\nOr you can run it on a real device using Xcode or Android Studio (strongly recommended). \n\n## Built With\n\n* [React-Native](https://reactnative.dev/docs/getting-started) - The cross-platform framework used\n* [Batch React-Native Plugin](https://doc.batch.com/react-native/sdk-integration) - Batch push provider","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatchlabs%2Fbatch-reactnative-plugin-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatchlabs%2Fbatch-reactnative-plugin-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatchlabs%2Fbatch-reactnative-plugin-sample/lists"}