{"id":13476625,"url":"https://github.com/a7ul/react-native-exception-handler-example","last_synced_at":"2025-04-27T19:32:44.319Z","repository":{"id":75754727,"uuid":"125073785","full_name":"a7ul/react-native-exception-handler-example","owner":"a7ul","description":"An example repo showing how to integrate react-native-exception-handler","archived":false,"fork":false,"pushed_at":"2018-06-18T18:04:16.000Z","size":447,"stargazers_count":35,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T02:22:12.244Z","etag":null,"topics":["example","exception-handling","react-native"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/a7ul.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}},"created_at":"2018-03-13T15:31:29.000Z","updated_at":"2025-01-24T10:21:46.000Z","dependencies_parsed_at":"2023-06-07T14:30:44.255Z","dependency_job_id":null,"html_url":"https://github.com/a7ul/react-native-exception-handler-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/a7ul%2Freact-native-exception-handler-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-exception-handler-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-exception-handler-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-exception-handler-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a7ul","download_url":"https://codeload.github.com/a7ul/react-native-exception-handler-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251196114,"owners_count":21550904,"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":["example","exception-handling","react-native"],"created_at":"2024-07-31T16:01:32.702Z","updated_at":"2025-04-27T19:32:43.940Z","avatar_url":"https://github.com/a7ul.png","language":"Objective-C","readme":"# React Native Exception handler example\n\n**This is an example repo**\nThis repo contains a basic react native app boilerplate code.\n\nI have integrated both JS Exception handler and Native exception handler here to showcase how to integrate the library.\n\n**The details of how the libarary works and integration can be found here:**\n\n[https://github.com/master-atul/react-native-exception-handler](https://github.com/master-atul/react-native-exception-handler)\n\n\nTo run the app:\n1. `git clone https://github.com/master-atul/react-native-exception-handler-example`\n2. `yarn install`\n3. `react-native run-ios --configuration Release` or `react-native run-android --variant=release`\n\nJS Exceptions can be caught even when running in development mode, Since I have enabled Catching JS Exceptions during development. So for JS exceptions you can run `react-native run-ios` or `react-native run-android`.\n\nHence if you click on **Cause JS Exception** Button, you should see the error been caught straight away.\n\nIn case of native exceptions . You would need to run the app in the bundled mode using:\n\n`react-native run-ios --configuration Release`\n\nFor Android you can run it using: \n\n`react-native run-android --variant=release`\n\nThis runs the app on simulator in release configuration.\n\n**Few screenshots**\n\n1. App launch:\n\n\u003cbr\u003e\n\n\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg src=\"https://github.com/master-atul/react-native-exception-handler-example/raw/master/screens/1.png\" style=\"width: 30%;display: inline;\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\n1. JS Exception:\n\n\u003cbr\u003e\n\n\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg src=\"https://github.com/master-atul/react-native-exception-handler-example/raw/master/screens/2.png\" style=\"width: 30%;display: inline;\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\n1. Native Exception:\n\n\u003cbr\u003e\n\n\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg src=\"https://github.com/master-atul/react-native-exception-handler-example/raw/master/screens/3.png\" style=\"width: 30%;display: inline;\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\n\nHope this helps people !! ✌🏻🌮","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Freact-native-exception-handler-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa7ul%2Freact-native-exception-handler-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Freact-native-exception-handler-example/lists"}