Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
328 views
in Technique[技术] by (71.8m points)

React Native iOS Share Sheet Apps Missing Instagram

I've downloaded instagram and tiktok to test on a new phone, but they don't show up in the share sheet.

Is it because you can't share to instagram this way? I'm doing it like this:

import {Share} from 'react-native';
...
  Share.share({
    message: 'hello world',
    title: 'Content',
    url: 'https://instagram.com',
  });

Does sharing to instagram not work with React Native share sheet? Or am I doing it wrong?

If this doesn't work I will try linking.

Edit: I tried adding an image

  Share.share({
    message: 'hello world',
    title: 'Content',
    url: content.product.image,
    // image url

  });

still doesn't show


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...