Log when OTA updates are incompatible with the installed Native SDKs

Open
#5,368 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
react-native, typescript
Domain
mobile

Research direction

The issue names no files or tests; start by locating the logging and OTA/native-SDK compatibility paths in sentry-react-native. Define the minimum-version behavior, internal diagnostic, client report, and changelog treatment from the issue, then add coverage demonstrating that incompatible logs are dropped and compatible logs remain.

Written by the indexing model from the issue text.

Description

Feature Logs React-Native
Problem Statement

https://discord.com/channels/621778831602221064/1437530610011996250/1437889774554845204
and
https://github.com/getsentry/sentry-react-native/issues/5162

and probably more causes, would benefit alot if we or the user had the information that X feature is not working because it requires a newer version of the Native SDK than the current one installed.

Solution Brainstorm

For the case of logs, check the minimum required version of the Native SDKs what works with it, if the value is lower or nor present, drop the log, add a internal log about why and create a client report informing that the log was dropped due to outdated Native SDK.

Other point is we could inform on changelog when a version is incompatible with OTA and requires a manual update.

Are you willing to submit a PR?

None

Dominant language
TypeScript
Stars
1.8k
Forks
367
Avg merge
1d 6h
Merged PRs (30d)
94

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-react-native

All issues in getsentry/sentry-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.