P粉0042876652023-09-02 21:46:58
你可以使用来自react-native的Share
import { Share } from 'react-native'; //... <Button title="分享" onPress={() => Share.share({ message: `你的信息。 ${yourAppUrl}`, })} />
另请参阅expo-linking
import * as Linking from 'expo-linking'; Linking.openURL('https://appurl');