CrashEye | CrashEye is an ios crash monitor,automatic catch exception | Dashboard library

 by   zixun Swift Version: 1.1.2 License: MIT

kandi X-RAY | CrashEye Summary

kandi X-RAY | CrashEye Summary

CrashEye is a Swift library typically used in Analytics, Dashboard applications. CrashEye has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

CrashEye is an ios crash monitor,automatic catch exception crash & signal crash and return the stacktrace.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              CrashEye has a low active ecosystem.
              It has 57 star(s) with 13 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 2 have been closed. On average issues are closed in 3 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of CrashEye is 1.1.2

            kandi-Quality Quality

              CrashEye has no bugs reported.

            kandi-Security Security

              CrashEye has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              CrashEye is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              CrashEye releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CrashEye
            Get all kandi verified functions for this library.

            CrashEye Key Features

            No Key Features are available at this moment for CrashEye.

            CrashEye Examples and Code Snippets

            Usage,implement the delegate
            Swiftdot img1Lines of Code : 5dot img1License : Permissive (MIT)
            copy iconCopy
            extension ViewController: CrashEyeDelegate {
                func crashEyeDidCatchCrash(with model:CrashModel) {
                    print(model)
                }
            }
              
            Installation,CocoaPods
            Swiftdot img2Lines of Code : 1dot img2License : Permissive (MIT)
            copy iconCopy
            pod "CrashEye"
              
            Installation,Carthage
            Swiftdot img3Lines of Code : 1dot img3License : Permissive (MIT)
            copy iconCopy
            github "zixun/CrashEye"
              

            Community Discussions

            Trending Discussions on CrashEye

            QUESTION

            Intercepting crashes on iOS
            Asked 2019-Feb-12 at 19:33
            Description

            I would like to catch all exceptions that are occurring in iOS app and log them to file and eventually send them to back-end server used by the app.

            I've been reading about this topic and found usage of signals sent by device and handling them, but I'm not sure if it's gonna break App Store Review guidelines or it may introduce additional issues.

            I've added following to AppDelegate:

            ...

            ANSWER

            Answered 2019-Feb-12 at 15:27

            former Crashlytics iOS SDK maintainer here.

            The code you've written above does have a number of technical issues.

            The first is there are actually very few functions that are defined as safe to invoke inside a signal handler. man sigaction lists them. The code you've written is not signal-safe and will deadlock from time to time. It all will depend on what the crashed thread is doing at the time.

            The second is you are attempting to just exit the program after your handler. You have to keep in mind that signals/exception handlers are process-wide resources, and you might not be the only one using them. You have to save pre-existing handlers and then restore them after handling. Otherwise, you can negatively affect other systems the app might be using. As you've currently written this, even Apple's own crash reporter will not be invoked. But, perhaps you want this behavior.

            Third, you aren't capturing all threads stacks. This is critical information for a crash report, but adds a lot of complexity.

            Fourth, signals actually aren't the lowest level error system. Not to be confused with run time exceptions (ie NSException) mach exceptions are the underlying mechanism used to implement signals on iOS. They are a much more robust system, but are also far more complex. Signals have a bunch of pitfalls and limitations that mach exceptions get around.

            These are just the issues that come to me off the top of my head. Crash reporting is tricky business. But, I don't want you to think it's magic, of course it's not. You can build a system that works.

            One thing I do want to point out, is that crash reporters give you no feedback on failure. So, you might build something that works 25% of the time, and because you are only seeing valid reports, you think "hey, this works great!". Crashlytics had to put in effort over many years to identify the causes of failure and try to mitigate them. If this is all interesting to you, you can check out a talk I did about the Crashlytics system.

            Update:

            So, what would happen if you ship this code? Well, sometimes you'll get useful reports. Sometimes, your crash handling code will itself crash, which will cause an infinite loop. Sometimes your code will deadlock, and effectively hang your app.

            Apple has made exit public API (for better or worse), so you are absolutely within the rules to use it.

            I would recommend continuing down this road for learning purposes only. If you have a real app that you care about, I think it would be more responsible to integrate an existing open-source reporting system and point it to a backend server that you control. No 3rd parties, but also no need to worry about doing more harm than good.

            Source https://stackoverflow.com/questions/54648806

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install CrashEye

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/zixun/CrashEye.git

          • CLI

            gh repo clone zixun/CrashEye

          • sshUrl

            git@github.com:zixun/CrashEye.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Dashboard Libraries

            grafana

            by grafana

            AdminLTE

            by ColorlibHQ

            ngx-admin

            by akveo

            kibana

            by elastic

            appsmith

            by appsmithorg

            Try Top Libraries by zixun

            GodEye

            by zixunSwift

            CocoaChinaPlus

            by zixunSwift

            ZXKit

            by zixunSwift

            ZXOptionBar-Swift

            by zixunSwift

            NetworkEye

            by zixunSwift