Skip to content
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 Crash on Reload with expo reloadAppAsync #2966

Open
1 task done
Hikkikomori72 opened this issue Feb 17, 2025 · 1 comment
Open
1 task done

App Crash on Reload with expo reloadAppAsync #2966

Hikkikomori72 opened this issue Feb 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Hikkikomori72
Copy link

Hikkikomori72 commented Feb 17, 2025

Description

reopened issue #2834

Description
I used a basic example from the documentation to draw a line using the Points component. The app crashes upon attempting to reload using the reloadAppAsync() function from expo. I have not tested other examples. Note that the application may not crash on the first attempt; sometimes, it requires multiple reloads to reproduce the issue. The crash occurs both in Expo Go and in the release build (tested on iOS)

In my real project, where I render many elements using the skia library, the crash happens consistently on every reload attempt.

In the video, you can see the app flickering — this happens when I press the "Reload app" text. On one of the reloads, the app crashes.

398208739-87b4f4c3-f40e-4ef8-bcb7-3d6f932d8024.mp4

React Native Skia Version

1.11.3

React Native Version

0.76.6

Using New Architecture

  • Enabled

Steps to Reproduce

I updated my example project here to upgrade the Skia version to 1.11.3, but I am still encountering errors.

  1. install packages with yarn install
  2. then yarn start
  3. for testing scan qr code in console

The only version that works without issues in a pure Expo project is 1.5.

Snack, Code Example, Screenshot, or Link to Repository

https://github.com/Hikkikomori72/reloadAppAsyncTest

@Hikkikomori72 Hikkikomori72 added the bug Something isn't working label Feb 17, 2025
@Hikkikomori72
Copy link
Author

@wcandillon Could you help me figure out the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant