I am trying to preview the file (which can be pdf or img or doc) after uploaded by user.I tried this but it preview file with specific url and i want it preview uploaded file only. any one have idea?
return (<View style={styles.container}><View><StatusBar style="dark" /></View><Text>{Constants.manifest.sdkVersion}</Text><PDFReader source={{ uri: 'https://www.solarwinds.com/-/media/solarwinds/appoptics/product-screenshots/ao-infrastructure-monitoring-dashboard.ashx', }} webviewProps={{ startInLoadingState: true, }} /></View>