{"id":21952012,"url":"https://github.com/systangotechnologies/crashalert","last_synced_at":"2025-04-23T04:04:08.989Z","repository":{"id":57336300,"uuid":"77605919","full_name":"SystangoTechnologies/Crashalert","owner":"SystangoTechnologies","description":"Set of React Native components that allow reporting of the crashes in RN applications.","archived":false,"fork":false,"pushed_at":"2018-11-20T10:57:20.000Z","size":116421,"stargazers_count":70,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T04:03:42.193Z","etag":null,"topics":["crash","crash-dump","crash-reporting","crash-reporting-tool","hybrid-apps","mobile-app","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SystangoTechnologies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-29T10:58:44.000Z","updated_at":"2024-04-09T02:56:26.000Z","dependencies_parsed_at":"2022-09-11T10:03:03.651Z","dependency_job_id":null,"html_url":"https://github.com/SystangoTechnologies/Crashalert","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/SystangoTechnologies%2FCrashalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2FCrashalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2FCrashalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2FCrashalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SystangoTechnologies","download_url":"https://codeload.github.com/SystangoTechnologies/Crashalert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366729,"owners_count":21418771,"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":["crash","crash-dump","crash-reporting","crash-reporting-tool","hybrid-apps","mobile-app","react-native"],"created_at":"2024-11-29T06:19:08.226Z","updated_at":"2025-04-23T04:04:08.963Z","avatar_url":"https://github.com/SystangoTechnologies.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crashalert\n\n\nAs a mobile app developer, you’ve likely faced your own unique challenges in detecting, reproducing and debugging run-time crashes in React Native applications. Of course we need a crash analyzer tool that can track these crashes.\n\n## What is Crashalert?\n\nThis is a reporter that stores user action steps and runtime crashes info that you can analyze on [Crashlyzer](https://github.com/SystangoTechnologies/Crashlyzer) with a detailed specification of the tracked crashes.  You no longer need to change existing code, you just need to import `react-native-crashalert` components in your js classes rather than `react-native`.\n\n\n### Supported Versions \n\nVersion 3.0.5 supports react-native \u003e= 0.52.0\n\n### Platforms\n\n`Crashalert` supports both the platforms `android` and `iOS`.\n\n### Installation\n\n`$ yarn react-native-crashalert` or `npm install --save react-native-crashalert`\n\n## Demo\n\u003ca href=\"https://github.com/SystangoTechnologies/Crashalert/blob/master/Crashalert.gif\"\u003e\u003cimg src=\"https://github.com/SystangoTechnologies/Crashalert/blob/master/Crashalert.gif\"\u003e\u003c/a\u003e\n\n## How to analyze the crashes?\n\nTo analyze your app crashes, you should follow Node server and Web client installation [here](https://github.com/SystangoTechnologies/Crashlyzer)\n\n**NOTE:** Please follow the [link here](FLOW_README.md) for the complete installation guide of `Crashlyzer`.\n\n## Basic usage\n\nFirst of all, you'll need to add following code in your `app.js` or any top hierarchy component in `constructor` or  `componentWillMount()` method. This is required configuration for crash reporter.\n\n```javascript\n\nimport { CrashReporter } from 'react-native-crashalert'\n\nCrashReporter.setConfiguration({\nhostURL: 'http://localhost:8000', // Replace this URL with your Server base url, in my case I have setup the node server on my machine itself using docker container\nenableReporter: true  // pass false here if you don't want to enable reporting the crashes\n});\n\n```\n\n**NOTE:** In case `localhost` url is not working in any platform `android/iOS` then you need to replace the value of  `hostURL` to your machine's **local IP Address** in `setConfiguration` method.  \n\n\n### Sample\n\nYou can simply try the following sample code :\n\n```javascript\n\n// Import the component 'react-native-crashalert' module\nimport {Button} from 'react-native-crashalert';\n\n// Within your render function\n\u003cButton style={styles.button} onPress={()=\u003e this.pressLogin()}\u003e\nLOG IN\n\u003c/Button\u003e\n\n// Adding your styles...\nvar styles = StyleSheet.create({\nbutton: {\nheight:35,\nbackgroundColor: '#F57B20',\nalignSelf:'center',\nmarginTop:10,\nwidth:100\n}\n\n});\n```\n\n**NOTE :** Following are some additional props which might be used to pass manual information associated with the component otherwise the `default` information of the component will get passed.\n\n## Example:\n\nThe example app `RNCrashExamples` demonstrated the use of our crash reporter library. It is also having some additional features i.e. [`Eslint`](https://www.themarketingtechnologist.co/eslint-with-airbnb-javascript-style-guide-in-webstorm/), [`Code-Push`](https://github.com/Microsoft/react-native-code-push), [`React-Navigation`](https://reactnavigation.org/) and [`Redux`](https://redux.js.org/) are integrated. You need to add your code-push keys for android and iOS in their respective mapping files, you can follow the inline link of code-push for more details. The code-push is optional in the example app for debug mode.\n\n\n### The components which can be used:\n- Button\n- TouchableOpacity\n- TouchableHeighlight\n- TouchableWithoutFeedback\n- TouchableNativeFeedback\n\n## Additional props\n\n- searchText : To get the searched text on the `TextInput` component.(NOTE : While using `TextInput` component, you need to pass the `text` value in this field)\n- actionOn : To associate extra information related to the component used.\n- textStyle: To give a custom style of Text\n\n\n### Troubleshoot\n\nIf you experience the following issue in **android** while building the example app:\n\n`ENOENT: no such file or directory, open '/Users/macmini33/Desktop/demo/RNCrashExamples/android/app/build/intermediates/assets/debug/CodePushHash'`\n\n**Fix:** You need to create two (assets and debug) folders to the following path:\n\n`rootDir -\u003e android -\u003e app -\u003e build -\u003e intermediates -\u003e assets -\u003e debug`\n\n## License\n\nMIT\n\n## Contributors\n[Arpit Khandelwal](https://www.linkedin.com/in/arpitkhandelwal1984/), [Akhilesh Mourya](https://www.linkedin.com/in/akhilesh-mourya-54705232/), [Rituraj Mandloi](https://www.linkedin.com/in/rituraj-mandloi-57b97a171/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystangotechnologies%2Fcrashalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystangotechnologies%2Fcrashalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystangotechnologies%2Fcrashalert/lists"}