Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Remove RNSplashScreen requirement in iOS. #815

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

jeberhardt
Copy link
Contributor

@jeberhardt jeberhardt commented Jul 21, 2020

Remove RNSplashScreen requirement, in favour of a more native approach.

It is hoped that the this will stop the Watchdog crashes in iOS that were reported. (See linked issue for details).

This approach is suggested here:
https://reactnative.dev/docs/running-on-device#pro-tips

It allows a splash screen to stay on the screen while the app initializes, without the potentially thread blocking code that causes Watchdog to trigger a crash. Also, checking the app state will prevent the splashscreen from showing up if the app is running in the background state.

@jeberhardt jeberhardt requested a review from a team as a code owner July 21, 2020 15:49
@jeberhardt jeberhardt linked an issue Jul 21, 2020 that may be closed by this pull request
@timarney timarney merged commit 37047d4 into master Jul 21, 2020
@timarney timarney deleted the feature/fix-ios-splashscreen-crash branch July 21, 2020 17:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

COVID Alert crashed in the background (iOS)
2 participants