createDownloadResumable/downloadAsync headers not changing/not seting

Please provide the following:

  1. SDK Version:37.0.3
  2. Platforms(Android/iOS/web/all):Android
FileSystem.createDownloadResumable(

          contentLink.link,

          FileSystem.documentDirectory +

            (contentLink.type === "Image" ? ".jpg" : ".mp4"),

            {

              headers:{

              "content-type": "video/mp4"

            }},

            callback

        )

While downloading multiple (video/image) file header “content-type” stays “image/jpeg” so using above code I am trying to set “content-type” to video for all type of file just to check but it doesn’t change

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.