uploading \utils\video.mp4 Request body larger than maxBodyLength limit

Hello to everybody,

Thanks for your excellent work and contribution

I m stuck

I have a 10 mb mp4 file in my assets directory

when I build the android

expo build:android

I get

Request body larger than MaxBodyLength Limit

How to increase this value in the code ?
(can you add a sample please, thanks)
Example of my code down there.

Thanks, I m stuck

Best regards

I use

import LightVideo from “./utils/video.mp4”

etc…

<Video
      source={LightVideo}
      resizeMode="cover"
      style={StyleSheet.absoluteFill}
      shouldPlay
/>

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