在android上共享URL不会';我不能以链接的形式出现。自然反应
我正在尝试使用react native share与我的应用程序共享带有消息的深层链接 消息在那里,URL也在那里,但是URL显示为一个包含链接的数组字符串 例如:[”app://app/home“] 我希望它是指向我的应用程序的可点击链接, IOS对我来说很好 我的代码:在android上共享URL不会';我不能以链接的形式出现。自然反应,android,react-native,react-native-android,Android,React Native,React Native Android,我正在尝试使用react native share与我的应用程序共享带有消息的深层链接 消息在那里,URL也在那里,但是URL显示为一个包含链接的数组字符串 例如:[”app://app/home“] 我希望它是指向我的应用程序的可点击链接, IOS对我来说很好 我的代码: import Share from 'react-native-share'; shareLink() { Share.open({ title: 'Welcome', messa
import Share from 'react-native-share';
shareLink() {
Share.open({
title: 'Welcome',
message: 'this is a link to the home page',
url: 'app://app/home'
})
.catch((err) => console.log(err));
}
谢谢