Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSCrashHandler not started #363

Closed
2 of 5 tasks
Frexuz opened this issue Feb 22, 2018 · 6 comments
Closed
2 of 5 tasks

KSCrashHandler not started #363

Frexuz opened this issue Feb 22, 2018 · 6 comments
Assignees

Comments

@Frexuz
Copy link

Frexuz commented Feb 22, 2018

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0


v8.5.0
5.6.0
[email protected] /Users/kristiangerardsson/www/flately.com/native_app
├── UNMET DEPENDENCY @mapbox/geo-viewport@^0.2.2
├── UNMET DEPENDENCY @ptomasroos/react-native-multi-slider@^0.0.11
├── UNMET DEPENDENCY action-cable-react-jwt@^0.0.5
├── UNMET DEPENDENCY assert@^1.4.1
├── UNMET DEPENDENCY aws-sdk@^2.188.0
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY browserify-zlib@^0.1.4
├── UNMET DEPENDENCY buffer@^4.9.1
├── UNMET DEPENDENCY console-browserify@^1.1.0
├── UNMET DEPENDENCY constants-browserify@^1.0.0
├── UNMET DEPENDENCY crypto-js@^3.1.9-1
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY dns.js@^1.0.1
├── UNMET DEPENDENCY domain-browser@^1.1.7
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY impagination@^1.0.0-alpha.3
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] (git+https://github.com/GeekyAnts/react-native-drawer.git#8d9078516d177c9cb02d2579a6860706d2370d25)
│ ├── [email protected]
│ ├── [email protected] (git+https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git#f4805f254d6cc8e3329f5fb224944401f66655db)
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY payment@^2.3.0
├── UNMET DEPENDENCY process@^0.11.10
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY querystring-es3@^0.2.1
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-aws3@^0.0.8
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-calendar-events@^1.4.3
├── UNMET DEPENDENCY react-native-calendars@^1.16.1
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-check-box@^2.0.2
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-collapsible@^0.9.0
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-confirmation-code-input@^1.0.4
├── UNMET DEPENDENCY react-native-crypto@^2.1.1
├── UNMET DEPENDENCY react-native-datepicker@^1.6.0
├── UNMET DEPENDENCY react-native-device-info@^0.13.0
├── UNMET DEPENDENCY react-native-drawer@^2.5.0
├── UNMET DEPENDENCY react-native-easy-markdown@^1.1.9
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-fbsdk@^0.6.3
├── UNMET DEPENDENCY react-native-fetch-blob@^0.10.8
├── UNMET DEPENDENCY react-native-firebase@^3.1.1
├── UNMET DEPENDENCY react-native-flip-card@^3.5.2
├─┬ UNMET DEPENDENCY [email protected]
│ ├── @expo/[email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-http@github:tradle/react-native-http#834492d
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-image-progress@^1.0.1
├── UNMET DEPENDENCY react-native-img-cache@^1.5.0
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-keyboard-manager@^4.0.13-4
├── UNMET DEPENDENCY react-native-level-fs@^3.0.0
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-maps@git+https://github.com/react-community/react-native-maps.git#8363c7c011bce72c00dbf401f4648e9c467bc32e
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-modalbox@^1.4.2
├── UNMET DEPENDENCY react-native-nav@^2.0.2
├── UNMET DEPENDENCY react-native-os@^1.1.0
├── UNMET DEPENDENCY react-native-popover-tooltip@^1.1.4
├── UNMET DEPENDENCY react-native-progress@^3.4.0
├── UNMET DEPENDENCY react-native-radio-buttons@^1.0.0
├── UNMET DEPENDENCY react-native-randombytes@^3.0.0
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-scrollable-tab-view@^0.8.0
├── UNMET DEPENDENCY react-native-select-input-ios@^1.1.3
├── UNMET DEPENDENCY react-native-sentry@^0.34.0
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-splash-screen@^3.0.6
├── UNMET DEPENDENCY react-native-streetview@github:nesterapp/react-native-streetview#10/head
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-tcp@^3.3.0
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react-native-timer-countdown@^1.0.1
├── UNMET DEPENDENCY react-native-udp@^2.3.1
├── UNMET DEPENDENCY react-native-underline-tabbar@^1.3.4
├── UNMET DEPENDENCY react-native-uuid@^1.4.9
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY react-native-view-transformer@github:ldn0x7dc/react-native-view-transformer#14/head
├── UNMET DEPENDENCY react-native-zendesk-chat@github:frexuz/react-native-zendesk-chat#master
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY redux-persist@^5.4.0
├── UNMET DEPENDENCY [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY stream-browserify@^1.0.0
├── UNMET DEPENDENCY string@^3.3.3
├─┬ UNMET DEPENDENCY [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├─┬ UNMET DEPENDENCY [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY timers-browserify@^1.4.2
├── UNMET DEPENDENCY tipsi-stripe@^4.1.0
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY url@^0.10.3
├── UNMET DEPENDENCY util@^0.10.3
└── UNMET DEPENDENCY [email protected]

Config:

Sentry.config('https://***:***@sentry.io/***').install()

I have following issue:

Description goes here ...

Steps to reproduce:

  • yarn add react-native-sentry
  • react-native link react-native-sentry

Actual result:

Exception 'KSCrashHandler not started - Make sure you added KSCrash as a dependency' was thrown while invoking startWithDsnString on target RNSentry with params (
    "https://***:***@sentry.io/***",
        {
        deactivateStacktraceMerging = 1;
        disableNativeIntegration = 0;
        handlePromiseRejection = 1;
        ignoreModulesExclude =         (
        );
        ignoreModulesInclude =         (
        );
        instrument = 0;
        logLevel = 0;
    },
    40,
    41
)

Expected result:

  • No build error :)
@HazAT
Copy link
Member

HazAT commented Feb 22, 2018

This indicates that react-native wasn't able to correctly integrate sentry into your Xcode project.
screenshot 2018-02-22 15 57 09
Make sure libRNSentry.a and libz.tbd

@HazAT HazAT self-assigned this Feb 22, 2018
@Frexuz
Copy link
Author

Frexuz commented Feb 23, 2018

They already are :)

screen shot 2018-02-23 at 12 20 33

@Burgomehl
Copy link

Same Problem

@tc
Copy link

tc commented Apr 19, 2018

I'm having this issue as well, it doesn't crash the app. just a warning:

Possible Unhandled Promise Rejection (id: 0):
Error: KSCrashHandler not started - Make sure you added KSCrash as a dependency
Error: KSCrashHandler not started - Make sure you added KSCrash as a dependency
    at createErrorFromErrorData (blob:http://localhost:8081/ef3a2614-f52f-444a-8017-c4cfbd0ecb42:2031:17)

screen shot 2018-04-19 at 1 34 31 pm

Any work-arounds?

@HazAT
Copy link
Member

HazAT commented Aug 13, 2018

This should be fixed in the latest version, KSCrash is now bundled in Sentry as SentryCrash.

@HazAT HazAT closed this as completed Aug 13, 2018
@secobarbital
Copy link
Contributor

@HazAT Any solution for users of RN <0.40? I am getting this error but cannot upgrade to the latest because RNSentry >=0.39 requires RN >=0.56 and we're still on RN 0.39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants