react-native-view-shot icon indicating copy to clipboard operation
react-native-view-shot copied to clipboard

Image is black in pictures app while image is viewed in fullscreen

Open LasseKay opened this issue 3 years ago • 1 comments

Exporting throws no error, i can share the image correctly with react-native-share to any App like WhatsApp etc.

But if i save the image with sharing to ios pictures app, something goes wrong.

It will be displayed correctly in all preview modes, still the big preview mode is working (show one picture, you can swipe left and right to go forward or back).

But if i tip on picture to show in fullscreen without headers and bottom menu, it will show only black screen.

If i share from photos app again or crop the image, the problem is gone.

I think this problem is not related to react-native-share, because i can not-view-shottet images to photos app the same way without having trouble.

This happens only in ios. Sharing to any photo library app in android works as expected.

LasseKay avatar Mar 04 '21 12:03 LasseKay

I found the mistake in my Code, my container was transparente. This will show as black in ios, and of course with only black text color, everthing is black. Issue can be closed here

LasseKay avatar Mar 20 '21 08:03 LasseKay