DataDog / dd-sdk-reactnative

Datadog SDK for ReactNative
Apache License 2.0
115 stars 41 forks source link

Version 2 is broken on tvOS #712

Open crewtaylorfd opened 1 month ago

crewtaylorfd commented 1 month ago

Describe the bug

tvOS does not support web views. Version 2 of the SDK requires DatadogWebViewTracking which does not support tvOS.

Reproduction steps

  1. Create react-native-tvos application
  2. Install version 2.0.0 of the sdk
  3. pod install
  4. See error
    The platform of the target `HelloWorld-tvOS` (tvOS 13.4) is not compatible with `DatadogWebViewTracking (2.14.2)`, which does not support `tvOS`.

SDK logs

No response

Expected behavior

pod install works

Affected SDK versions

2.0.0

Latest working SDK version

1.9.0

Did you confirm if the latest SDK version fixes the bug?

Yes

Integration Methods

Yarn

React Native Version

react-native-tvos: 0.74.3-0

Package.json Contents

No response

iOS Setup

No response

Android Setup

No response

Device Information

No response

Other relevant information

No response

marco-saia-datadog commented 1 month ago

Hi @crewtaylorfd! 👋

Thank you for reaching out! We will work on a solution and I will keep you posted here.

marco-saia-datadog commented 2 weeks ago

Hi @crewtaylorfd! 👋

We have made a simple fix on our podspec, so that the conflicting dependency is not installed when targeting tvOS.

The PR#719 has been reviewed and merged, and it will be released soon in the next minor version of our SDK.