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

(Android) Share.single with instagram shows image.null text on share screen #1530

Open
goyalshubham13 opened this issue May 20, 2024 · 0 comments
Labels

Comments

@goyalshubham13
Copy link

goyalshubham13 commented May 20, 2024

Steps to reproduce

  1. use Share.single to share image with instagram

code I am using

const shareOptions = {
        url: `data:image/jpg;base64,${base64Image}`,
        social: Share.Social.INSTAGRAM,
        type: 'image/*',       
};
 const t = await Share.shareSingle(shareOptions);

Expected behavior

Sharing is working fine, its just share activity is showing image.null text.

Actual behavior

should show file name? or something else?

Screenshot 2024-05-20 at 12 32 16 PM

Questions:

  • What this title supposed to be?
  • Can we show a thumbnail of the image here?
  • I tried passing title and message but that doesnt go to instagram. Is there a way to achieve that?

Environment

  • React Native version: 0.71.14
  • React Native platform + platform version: Android 10

react-native-share

Version: 10.2.0

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

No branches or pull requests

1 participant