0

我目前正在使用react-native-share我的 react-native-project 中的其他应用程序共享 QR 图像。但是它只共享图像,但我想与它共享某种标题。谁能建议我怎么做?代码片段:

const url = qrCode;
const title = 'QRCode share";
const message = `Get this QR code`;
const options = Platform.select({
  default: {
    title,
    subject: title,
    message,
    url,
  },
});
Share.open(options);
4

0 回答 0