Skip to content

sentry-cocoa installedIntegrationsNames was mutated during setSDK info in client #2955

@xcocoa

Description

@xcocoa

OS:

  • Windows
  • [yes] MacOS
  • Linux

Platform:

  • [yes] iOS
  • Android

SDK:

  • [yes] @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: "4.7.1"

react-native version: 0.0.0

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://[email protected]/...'
  // other options
});

or

(react-native-sentry)

Sentry.config(
  'https://[email protected]/...'
  // other options
 ).install();

I have following issue:

[Description]

Steps to reproduce:

  • Step 1
  • Step 2

Actual result:

Sentry Application threw exception NSGenericException: *** Collection <__NSArrayM: 0x28076e970> was mutated while being enumerated.3 Sentry 0x00000001055099f8 -[SentryClient setSdk:] + [SentryClient.m : 644]

Expected result:

[Expected result]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions