Android 如何在React本机应用程序中从其他本机应用程序内容提供商获取数据

Android 如何在React本机应用程序中从其他本机应用程序内容提供商获取数据,android,react-native,Android,React Native,我不知道如何从内容提供商处获取数据,以作出本地响应。我在react native中使用了RNFS,我的Uri是content://path 发送到内容提供商 const exFile = await RNFS.exists('content://XXXXXXXXX/user_info'); if(exFile){ console.log('------------exist--------------'); } else { console.log('----------not

我不知道如何从内容提供商处获取数据,以作出本地响应。我在react native中使用了RNFS,我的Uri是content://path 发送到内容提供商

const exFile = await RNFS.exists('content://XXXXXXXXX/user_info');
if(exFile){
    console.log('------------exist--------------'); 
} else {
   console.log('----------not exist------------');
}