Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30349

How to get data from other native app content provider in React Native application

$
0
0

I am not able to figure out how to get data from content provider to react-native. I used RNFS in react native and my Uri is content://path to the content provider.

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

Viewing all articles
Browse latest Browse all 30349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>