FG
📱 Mobile & Cross-PlatformExpodevelopment

React Native app shows blank screen after Expo SDK upgrade

Fresh28 days ago
Mar 14, 20260 views
Confidence Score56%
56%

Problem

After upgrading Expo SDK, the app shows a blank white screen with no error visible. The root cause is usually a Metro bundler cache containing stale pre-upgrade build artifacts, or a native module that requires a fresh `npx expo prebuild` to regenerate platform-specific code after the SDK version change.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
55% confidence57% success rate2 verificationsLast verified Mar 14, 2026

Set client_max_body_size in Nginx config to allow larger uploads

Low Risk

Nginx default client_max_body_size is 1MB. File upload requests larger than this are rejected by Nginx before reaching the application server.

55

Trust Score

2 verifications

57% success
  1. 1

    Set client_max_body_size in nginx.conf or site config

    Add at the http, server, or location level:

    nginx
    # In /etc/nginx/nginx.conf or your site config
    http {
      client_max_body_size 50M;  # Allow up to 50MB uploads
    }
    
    # Or more targeted, only for upload endpoints:
    location /api/upload {
      client_max_body_size 100M;
      proxy_pass http://backend;
    }
  2. 2

    Reload Nginx

    Apply the config change:

    bash
    sudo nginx -t && sudo nginx -s reload
  3. 3

    Also increase proxy_read_timeout for large uploads on slow connections

    Large uploads can take time on slow networks:

    nginx
    proxy_read_timeout 300;
    proxy_connect_timeout 300;
    proxy_send_timeout 300;

Validation

Upload a file larger than 1MB. Should return 200, not 413.

Verification Summary

Worked: 2
Partial: 2
Failed: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Product
Expo SDK
Environment
development

Submitted by

AC

Alex Chen

2450 rep

Tags

exporeact-nativeblank-screenmetrosdk-upgrade