forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP deps: Upgrade @sentry/react-native to 5.9.2, the latest
TODO: - Testing on iOS - Flow types generated from the TypeScript using TsFlower? (We have a hand-translated libdef, but it's likely to be misleading because it's now outdated by two major versions. I've ripped it out here.) Our hope here was to fix the Android crashes in zulip#5757. It didn't work; testing showed that the crash still happens on this later version: https://chat.zulip.org/#narrow/stream/48-mobile/topic/Android.20crashes/near/1644202 So if there's a bad interaction between the Sentry Native SDK and Google's Play Services system update on 2023-08-01, it's still present with Sentry Native 0.6.5 (the current latest), as well as other versions in prior reports: 0.4.12 (ours, just before this commit) and 0.5.4. For how to deduce a Sentry Native SDK version from a Sentry *React Native* SDK version, see https://chat.zulip.org/#narrow/stream/48-mobile/topic/Android.20crashes/near/1643817 See a React Native issue: facebook/react-native#39505 and an issue in a Google tracker: https://issuetracker.google.com/issues/300840851?pli=1 and an issue in the Sentry Unity tracker: https://github.com/getsentry/sentry-unity/issues/1444 Still, good to do the upgrade anyway, and if Sentry comes out with a fix, we'll be best placed to take it having already upgraded to the current latest. Done by following the upgrade guide at https://docs.sentry.io/platforms/react-native/migration/ starting in the "From 3.x to 4.x" section and working up through "From 4.x to 5.x". Not many declared breaking changes relevant to our app: - The `Severity` enum is removed in favor of string literals - The Sentry CLI had a big upgrade with declared breaking changes to handle in our iOS build See our long debugging thread on CZO: https://chat.zulip.org/#narrow/stream/48-mobile/topic/.40sentry.2Freact-native.20to.20latest/near/1643986
- Loading branch information
1 parent
73ff2c6
commit e42fb6b
Showing
11 changed files
with
136 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.