getsentry / sentry-kotlin-multiplatform

Sentry SDK for Kotlin Multiplatform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support sentry-cocoa v8.8.0

jycmashiro opened this issue · comments

Problem Statement

can't work with RNSentry v5.7.1

Solution Brainstorm

No response

hi @jycmashiro we'd need more details here - what exactly doesn't work? Are you using sentry-react-native or sentry-kotlin-multiplatform? Please provide as much details as possible, otherwise we won't be able to help you.

We used react native to build UI interface and kmm as data layer.
RNSentry v5.7.1 depends on sentry-cocoa v8.8.0 and sentry-kotlin-multi platform v0.2.1 depends on sentry-cocoa v8.4.0.
When I run pod install I got
Cocoapods could not found compatible versions for pod SentryPrivate.

It's definitely possible but the downside I see is that all current users would need to manually update their cocoa deps to 8.8.0 as well. Not sure if there is a smooth way to transfer that information other than through the SDK changelog and docs? What do you think @romtsn

We will bump the versions occasionally but cannot guarantee that the versions will work with your usage. Currently we do not support the usage of multiple hybrid SDKs. However in the future we might plan to sync the bumping of the Cocoa SDK with our React Native SDKs so that we minimize these issues to a certain extent.