react-native-fetch-blob
react-native-fetch-blob copied to clipboard
android download crash (Failed to create Value from Json ......)
"react-native-fetch-blob": "^0.10.8",
compileSdkVersion 25 buildToolsVersion "26.0.2"
I don`t know how to solve this problem.......
any update on this issue? i am seeing a similar crash.
const getAudio = async (id, token) => {
const fromUrl = `${MEDIA_URI}/${id}`;
return RNFetchBlob
.config({
fileCache: true,
})
.fetch(
'GET',
fromUrl,
createAuthHeaders(token),
)
.then((res) => {
console.log('[MediaService] playback audio saved to ', res.path());
return res.path();
})
.catch((error) => {
console.log('[MediaService] exception', error);
throw error;
});
};
17:08:06 ERROR: AndroidRuntime : Caused by: com.facebook.jni.CppException: Failed to create Value from JSON:
any update?
Any update on this? I am facing the same issue.
Any update on this issue?