-
Notifications
You must be signed in to change notification settings - Fork 349
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
In android it does nothing and not showing any error logs. Works fine in iOS #529
Comments
In my case, always stuck in these code only in Android const uri = await viewRef.current.capture(); there's no error, just still going on. But iOS is working fine. |
I tried with this code also but there is no error logs and no clue to fix this.
|
Hi guys, any advance with this issue? I have the same problem with react-native 0.73.6, on ios works great, but with Android, nothing happens Thanks!! |
Hi guys, I have found the alternative for this. since this is not working well for Android. |
Hi guys. The same problem here. But I came up with a workaround. Just capture the full screen. After that you can clip the full screen image to the shape whatever you want.
|
Tried this and still not working for me, still no file saved/blank when shared. |
Hi guys, Keep using the
For whatever reason, the core Share API seems to expose |
Resolve this in Android using React Native Patch Packages.
|
@YogeshwarSharma Still not working. |
Hope, You have used patch-package and applied react-native-view-shot+3.8.0.patch |
Yes, i did. But mapview still missing. I try set collapsable to false/true but same result. |
This is my captureOptions |
bug report
In react native latest version (0.73.6) snapshot is not capturing in Android device. It works fine in IOS.
Version & Platform
Platform: Android
Expected behavior
It should return with URI of the image
Actual behavior
It returns nothing
Sample Code
The text was updated successfully, but these errors were encountered: