-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Crashes the app, as IOS has deprecated UIGraphicsBeginImageContextWithOptions from IOS 17. #1010
Comments
Had the same issue, your solution solved it for us. Thank you! |
@dprajapati1179 I really appreciate sharing your solution, can you please open a PR with this Fix?? |
Do you have repro steps for this @dprajapati1179 ? I'm running 8.6.3 and my app seems fine on iOS 17 & 17.1 based on the limited testing i've done. |
Thanks for this solution but i found that tintColor prop does not work in this solution hence providing an alternative for the same:
|
After implementing this patch there is a new error, "nan" in size rather then "0": UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={nan, nan}, scale=1.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer any ideas what can cause that? |
If you don't want changes in node_modules. Use this package (froked) - https://www.npmjs.com/package/@codegv/react-native-fast-image |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.Getting crash on iOS 17 as UIGraphicsBeginImageContextWithOptions.
It crashes the app, as IOS has deprecated UIGraphicsBeginImageContextWithOptions from IOS 17.
Here is the diff that solved my problem:
The text was updated successfully, but these errors were encountered: