Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

fix(ios): Ensure duplicate native reports are discarded #337

Merged
merged 1 commit into from Apr 17, 2019

Conversation

kattrali
Copy link
Contributor

If using [BugsnagReactNative start], its possible that fatal JS
reports are sent despite the discard block if they fail to be filtered
before they are sent. This change moves the block to be called the first
time Bugsnag is started, in either layer.

Tests

  • configure an app in native code first, throw a JS exception
  • configure an app in JS only, throw a JS exception

If using `[BugsnagReactNative start]`, its possible that fatal JS
reports are sent despite the discard block if they fail to be filtered
before they are sent. This change moves the block to be called the first
time Bugsnag is started, in either layer.
@kattrali kattrali force-pushed the kattrali/fix-deliver-rctfatalexceptions branch from 40040d7 to 1093f8d Compare April 17, 2019 17:21
@kattrali kattrali merged commit afdf343 into master Apr 17, 2019
@kattrali kattrali deleted the kattrali/fix-deliver-rctfatalexceptions branch April 17, 2019 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant