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