A 413 error indicates the payload is too large. Can you run expo export --public-url <any_https_url> and check size of bundle and assets in dist directory? It’s likely that your JS bundles exceed the 30MB upload limit we have in place. If that’s the case, you will definitely want to trim that way down as it will make for a terrible user experience both in terms of performance and cost of data for them. As each subsequent OTA update will be much heavier and expensive.
@adamjnav @wodin
I executed this command and found that my bundles size is 48 mb and my assets 12 mb so
1- how can I reduces my JS bundles ?
2- what do you mean by 30mb for all my bundles and assests or just bundles ?
3- how can I publish demo version for testing , I tried expo publish and it failed ,is there another way to do this ??
thanks in advance
The infraction here is the 48 MB that is made up of both your iOS and Android bundles. It is most likely the result of some third-party packages you have installed. I would recommend using a Bundle Visualizer to help get insight into what the culprit packages may be. GitHub - IjzerenHein/react-native-bundle-visualizer at v2