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

is not working with EXPO 52 #550

Open
yestoall opened this issue Nov 23, 2024 · 18 comments
Open

is not working with EXPO 52 #550

yestoall opened this issue Nov 23, 2024 · 18 comments

Comments

@yestoall
Copy link

it was workint with expo 51 but it doesn't seems to work with expo 52
any ideas?

@yestoall
Copy link
Author

i found a solution changing snapshotContentContainer: true to snapshotContentContainer: false

now its working as usual

@Tsabary
Copy link

Tsabary commented Nov 25, 2024

Yup same can' seem to make it work, I keep getting "Failed to snapshot view tag 118" and I had it working before.

Adding snapshotContentContainer: false to he options doesn't seem to change it for me

@javalen
Copy link

javalen commented Nov 25, 2024

Same here, I've updated to 52 and using "react-native-view-shot": "4.0.2", I've also added snapshotContentContainer: false to he options but still get Error: Failed to snapshot view tag. Was working with 51

@jimmyrogue
Copy link

Same, react-native-view-shot 4.0.2 work for ios but not work for android
I just follow the tutorial https://docs.expo.dev/tutorial/screenshot/ and try to make a app with expo

@kunchit
Copy link

kunchit commented Nov 26, 2024

me too error when i update expo 52

@wasupak
Copy link

wasupak commented Nov 27, 2024

Me too, back to 4.0.0 or 3.8.0 didn't help, maybe problem with expo 52

@Camiloadh99
Copy link

I have the same issue, when i try to use the useRef.current.capture() send me an error only on android before i update to expo 52

@javalen
Copy link

javalen commented Nov 27, 2024

I have the same issue, when i try to use the useRef.current.capture() send me an error only on android before i update to expo 52

I rolled back to 51 and it's working. Hope we can get a fix soon because exp-go updates to 52 automatically

@Beowulf1220
Copy link

I have the same issue on Android, any solution?

@torresjr94dev
Copy link

I have the same issue on Android, but I tried on iOS and it works perfect. Adding snapshotContentContainer: false to he options doesn't seem to change it for me

@Solutech11
Copy link

Im having same issue on android

@theprantadutta
Copy link

+1

@lecion
Copy link

lecion commented Dec 3, 2024

I have the same issue

@ronix99
Copy link

ronix99 commented Dec 3, 2024

I have the same issue, Expo 52

@eeebuba
Copy link

eeebuba commented Dec 5, 2024

I only get this error when using Expo Go. When running a development build everything works as expected.

@globemediaofficial
Copy link

I only get this error when using Expo Go. When running a development build everything works as expected.

Can confirm that the error only occurs in Expo Go on Android. captureRef works as expected in a development or production build.

@dovidweisz
Copy link

dovidweisz commented Dec 6, 2024 via email

@meathill
Copy link

meathill commented Dec 9, 2024

By far, captureRef was broken, but <ViewShot> still works on iOS 18.1.

You guys may try: https://github.com/gre/react-native-view-shot?tab=readme-ov-file#high-level-api

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