You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
RNFetchBlob.config({
addAndroidDownloads : {
useDownloadManager : true,
notification : true,
mediaScannable : true,
mime : 'application/vnd.android.package-archive',
description : ' downloaded by download manager.'
}
}).fetch('GET', gotURL)
.then((res) => {
// the conversion is done in native code
console.log('The file saved to ', res.path());
let sendIntent = RNFetchBlob.android.actionViewIntent;
sendIntent(res.path(), 'application/vnd.android.package-archive');
})
// Status code is not 200
.catch((errorMessage, statusCode) => {
// error handling
})
and download can be processed, but I do not why it is always get a file called 'downloadfile.bin', my file is on the AWS S3, it seems cannot fetch the correct file name from S3 Pre-signedURL?
Please.
The text was updated successfully, but these errors were encountered:
Hi, I am using
and download can be processed, but I do not why it is always get a file called 'downloadfile.bin', my file is on the AWS S3, it seems cannot fetch the correct file name from S3 Pre-signedURL?
Please.
The text was updated successfully, but these errors were encountered: