Expo APK white screen on redirect - react native

PressRex profile image
by PressRex
Expo APK white screen on redirect - react native

I'm developing an App with React Native using Expo and I'm having a problem with displaying a completely blank screen after redirection.

How it works: After loading the App's home screen, a QR Code is read and redirected using router.navigate from expo-router in this way:

router.navigate({ pathname: "/validate-user", params: { webApp: JSON.stringify(data), assetData: JSON.stringify(assetData) }});

This works normally in the development environment.

The problem: The problem only occurs after generating the APK and installing it on the physical device.

Some important settings:

"expo": "~52.0.27",
"expo-router": "~4.0.17",

Navigation:

/app
    /_layout.tsx
    /index.tsx
    /+not-found.tsx
    /create-request.tsx
    /finish-request.tsx
    /validate-user.tsx

Has anyone experienced this? I would like help to resolve this issue.

Source: View source

PressRex profile image
by PressRex

Subscribe to New Posts

Lorem ultrices malesuada sapien amet pulvinar quis. Feugiat etiam ullamcorper pharetra vitae nibh enim vel.

Success! Now Check Your Email

To complete Subscribe, click the confirmation link in your inbox. If it doesn’t arrive within 3 minutes, check your spam folder.

Ok, Thanks

Read More