react-native-fetch-blob icon indicating copy to clipboard operation
react-native-fetch-blob copied to clipboard

android download crash (Failed to create Value from Json ......)

Open hyp-Zero opened this issue 7 years ago • 4 comments

2018-01-29 5 24 39 2018-01-29 5 25 31

"react-native-fetch-blob": "^0.10.8",

compileSdkVersion 25 buildToolsVersion "26.0.2"

I don`t know how to solve this problem.......

hyp-Zero avatar Jan 29 '18 09:01 hyp-Zero

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:

wynnej1983 avatar Feb 12 '18 12:02 wynnej1983

any update?

msafayasar avatar Jul 21 '18 21:07 msafayasar

Any update on this? I am facing the same issue.

NarendraSingh88 avatar Jul 25 '18 05:07 NarendraSingh88

Any update on this issue?

sridhard avatar Oct 23 '18 03:10 sridhard