-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Gets Stuck on Splash Screen When Offline, More Frequent on Newer iOS Devices #4061
Closed
5 of 11 tasks
Labels
Comments
github-project-automation
bot
moved this to Needs Discussion
in Mobile & Cross Platform SDK
Sep 2, 2024
@frederikchrlarsen thank you for the report - this seems related/identical to #3820 - can you verify if the issue persists with 5.22.3 or newer? |
kahest
moved this from Needs Discussion
to Needs More Information
in Mobile & Cross Platform SDK
Sep 2, 2024
@kahest Thank you for the quick response! I can confirm that it is fixed on version 5.22.3. Sorry for bringing up an old and solved issue. |
github-project-automation
bot
moved this from Needs More Information
to Done
in Mobile & Cross Platform SDK
Sep 2, 2024
@frederikchrlarsen thanks for confirming! 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: Expo SDK 51 installs @sentry/react-native ~5.22.0
react-native
version: 0.74.2Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
What
App
is does not make any differenceI have the following issue:
Our React Native app occasionally gets stuck on the splash screen when starting without an internet connection (e.g., in flight mode or with network access removed via iOS settings). The issue is significantly more frequent on newer iOS devices:
The issue does not occur when we remove or disable Sentry initialization (Sentry.init and Sentry.wrap):
Findings:
When offline, the app seems to be stuck while Sentry attempts to send network requests. Below are some relevant logs device logs:
Steps to reproduce:
Actual result:
The app some times get stuck on the splash screen when started in offline mode.
Expected result:
The app should not get stuck on the splash screen when there is no internet connection. The Sentry SDK should handle offline scenarios gracefully.
Hypothesis:
We suspect the issue is related to how the Sentry SDK handles offline scenarios:
The text was updated successfully, but these errors were encountered: