{"id":28565311,"url":"https://github.com/countly/countly-sdk-rnb-example","last_synced_at":"2025-06-10T14:14:37.459Z","repository":{"id":146650271,"uuid":"588524780","full_name":"Countly/countly-sdk-rnb-example","owner":"Countly","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-19T19:57:08.000Z","size":828,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-16T11:21:10.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Countly.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-13T10:30:46.000Z","updated_at":"2023-01-31T23:29:38.000Z","dependencies_parsed_at":"2023-10-11T18:25:30.389Z","dependency_job_id":"d6272c8c-1026-4d45-9d83-621900c53312","html_url":"https://github.com/Countly/countly-sdk-rnb-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-sdk-rnb-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-sdk-rnb-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-sdk-rnb-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-sdk-rnb-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Countly","download_url":"https://codeload.github.com/Countly/countly-sdk-rnb-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-sdk-rnb-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259090407,"owners_count":22803677,"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":[],"created_at":"2025-06-10T14:14:36.848Z","updated_at":"2025-06-10T14:14:37.434Z","avatar_url":"https://github.com/Countly.png","language":"TypeScript","readme":"[![Codacy Badge](https://app.codacy.com/project/badge/Grade/bbf5985110954a4c9a1be87700a77d2e)](https://www.codacy.com/gh/Countly/countly-sdk-rnb-example/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Countly/countly-sdk-rnb-example\u0026amp;utm_campaign=Badge_Grade)\n\n## Countly React Native Bridge SDK test application\n\nThis repository includes example projects of React Native to demonstrate how to use [Countly React Native Bridge SDK](https://github.com/Countly/countly-sdk-react-native-bridge).\n\n## What is Countly?\n[Countly](https://count.ly) is a product analytics solution and innovation enabler that helps teams track product performance and customer journey and behavior across [mobile](https://count.ly/mobile-analytics), [web](https://count.ly/web-analytics),\nand [desktop](https://count.ly/desktop-analytics) applications. [Ensuring privacy by design](https://count.ly/privacy-by-design), Countly allows you to innovate and enhance your products to provide personalized and customized customer experiences, and meet key business and revenue goals.\n\nTrack, measure, and take action - all without leaving Countly.\n\n* **Questions or feature requests?** [Join the Countly Community on Discord](https://discord.gg/countly)\n* **Looking for the Countly Server?** [Countly Community Edition repository](https://github.com/Countly/countly-server)\n* **Looking for other Countly SDKs?** [An overview of all Countly SDKs for mobile, web and desktop](https://support.count.ly/hc/en-us/articles/360037236571-Downloading-and-Installing-SDKs#officially-supported-sdks)\n\n## Using the test application\n\nThese test applications can be used to:\n\n* Send a sample push notification\n* Generate events with values and segmentations with count, sum, duration\n* Send a sample user profile\n* Send a custom user property\n* Send a view (automatic or manual)\n* Generate a crash (e.g out of bounds, null pointer, kill, etc or a custom crash log)\n\nThis app serves as a simple example for building an app using the [Countly React Native Bridge SDK](https://github.com/Countly/countly-sdk-react-native-bridge).\n\n### Prerequisites\nTo run the Example App, you need to be able to build React Native apps for Android and iOS on your machine.\nRefer to the [React Native getting started guide](https://reactnative.dev/docs/0.61/enviroment-setup) if you need help setting up your React Native environment.\n\nFor more information on how to acquire your application key (appKey) and server URL, check [here](https://support.count.ly/hc/en-us/articles/900000908046-Getting-started-with-SDKs#acquiring-your-application-key-and-server-url).\n\n### Building\nClone this repository\n```sh\ngit clone https://github.com/Countly/countly-sdk-rnb-example.git\ncd countly-sdk-rnb-example/CountlyRNExample\n```\nOpen `App.tsx` and update `\"YOUR_API_KEY\"` with your Countly application Key and `\"https://try.count.ly\"` with your server URL.\n\nRun below to install dependencies and run your application on a simulator.\n```sh\nnpm install\ncd ios\npod install\ncd ../\nnpx react-native run-ios (or run-android)\n```\n\nIf your installation fails due to Ruby version not matching,\nCheck the required ruby version in `.ruby-version` and run\n```sh\nrvm install \"ruby-2.7.6\";\nrvm use \"ruby-2.7.6\"\n```\n\n### Using local SDK\nClone the SDK repository and compress to `.tar.gz` file type\n```sh\ngit clone https://github.com/Countly/countly-sdk-react-native-bridge.git\ncd countly-sdk-react-native-bridge\nnpm pack\n```\nIn the package.json for this test application, change \n\n`\"countly-sdk-react-native-bridge\": \"22.6.5\"` to \n\n`\"countly-sdk-react-native-bridge\": \"file://../../sdk/countly-sdk-react-native-bridge.tgz\"`\n\nwhere `file://../../` is the relative path to the compressed local sdk.\n\nRun below to install dependencies and run your application on a simulator.\n```sh\nnpm install\ncd ios\npod install\ncd ../\nnpx react-native run-ios (or run-android)\n```\n\n## Security\nSecurity is very important to us. If you discover any issue regarding security, please disclose the information responsibly by sending an email to security@count.ly and **not by creating a GitHub issue**.\n\n## Badges\nIf you like Countly, [why not use one of our badges](https://count.ly/brand-assets) and give a link back to us so others know about this wonderful platform?\n\n\u003ca href=\"https://count.ly/f/badge\" rel=\"nofollow\"\u003e\u003cimg style=\"width:145px;height:60px\" src=\"https://count.ly/badges/dark.svg?v2\" alt=\"Countly - Product Analytics\" /\u003e\u003c/a\u003e\n\n```JS\n\u003ca href=\"https://count.ly/f/badge\" rel=\"nofollow\"\u003e\u003cimg style=\"width:145px;height:60px\" src=\"https://count.ly/badges/dark.svg\" alt=\"Countly - Product Analytics\" /\u003e\u003c/a\u003e\n```\n\n\u003ca href=\"https://count.ly/f/badge\" rel=\"nofollow\"\u003e\u003cimg style=\"width:145px;height:60px\" src=\"https://count.ly/badges/light.svg?v2\" alt=\"Countly - Product Analytics\" /\u003e\u003c/a\u003e\n\n```JS\n\u003ca href=\"https://count.ly/f/badge\" rel=\"nofollow\"\u003e\u003cimg style=\"width:145px;height:60px\" src=\"https://count.ly/badges/light.svg\" alt=\"Countly - Product Analytics\" /\u003e\u003c/a\u003e\n```\n\n## How can I help you with your efforts?\nGlad you asked! For community support, feature requests, and engaging with the Countly Community, please join us at [our Discord Server](https://discord.gg/countly). We're excited to have you there!\n\nAlso, we are on [Twitter](https://twitter.com/gocountly) and [LinkedIn](https://www.linkedin.com/company/countly) if you would like to keep up with Countly related updates.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcountly%2Fcountly-sdk-rnb-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcountly%2Fcountly-sdk-rnb-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcountly%2Fcountly-sdk-rnb-example/lists"}