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

Error: "UIGraphicsBeginImageContext() failed to allocate CGBitampContext #10

Open
christophby opened this issue Jul 2, 2024 · 1 comment

Comments

@christophby
Copy link

christophby commented Jul 2, 2024

I'm getting the following error / crash in Xcode when launching a screen where the skeleton should be rendered.

Thread 1: "UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=3.000000, bitmapInfo=0x2006. Use UIGraphicsImageRenderer to avoid this assert."

  • "react-native": "0.69.12"
  • "react-native-reanimated-skeleton": "1.5.1",
  • Not using expo
@RomeroDiver
Copy link

RomeroDiver commented Aug 9, 2024

I have the same issue - updated to latest RN 0.74.5

This looks similar to DylanVann/react-native-fast-image#1002

EDIT: in my case, fixed by upgrading this:

"[react-native-linear-gradient](https://npmjs.com/package/react-native-linear-gradient)": "[2.6.2](https://npmjs.com/package/react-native-linear-gradient)",
 "[react-native-linear-gradient](https://npmjs.com/package/react-native-linear-gradient)": "[2.8.3](https://npmjs.com/package/react-native-linear-gradient)",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants