Closed maydersonmellops closed 1 year ago
When run app on Xcode and apply fully reload:
Same issue
@gorhom is there any solution for this?
@gorhom same problem here
Crash also happens (ios only) when doing a codepush update in the production app since it reloads the app in order to apply a new bundle. Would be great to at least get a workaround or a patch cc @gorhom
My workaround to the codepush/eas update issue is to unmount the whole React tree while updating.
I added a provider that wraps the whole app, and when the user taps on the "reload" banner I display the "Updating the app" screen.
<OverTheAirUpdatesContext.Provider value={providerValue}>
{isUpdating ? <Loading text="Updating the app" /> : children}
</OverTheAirUpdatesContext.Provider>
For Codedpush reload issue, realm was responsible in my case. And the solution mentioned in the below issue, helped me fix the crash. microsoft/react-native-code-push#2179
For Codedpush reload issue, realm was responsible in my case. And the solution mentioned in the below issue, helped me fixed the crash. microsoft/react-native-code-push#2179
Yes, I applied that solution, but it is something temporary, because that treatment is very bad.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Did anyone find anything? I tried to use https://github.com/software-mansion/react-native-reanimated/issues/4783#issuecomment-1713329472, but it did not work. The only place that I am using reanimated is with the bottom sheet.
Facing same issue in android
I'm getting the same error. Is there any solution? When I refresh my application on the first page of the bottom sheet, it crashes.
Bug
App is closing on IOS when doing a full reload, when using Bottom Sheet, I tried several versions of Bottom Sheet and Reanimated but I get the same problem, with React Native version
0.71.7
and Reanimated3.1.0
was working fine, but it no longer works in version0.72.3
and newer versions of Reanimated.Environment info
Steps To Reproduce
Describe what you expected to happen:
Reproducible sample code