Constants: expoConfig.currentFullName returns undefined

Please provide the following:
SDK 48

Expo Constants no longer return currentFullName. On previous SDK versions it was doing this only when running locally as obviously the app.json didn’t contain this value as it’s populated during build time. However now it returns undefined at all times!

Example To replicate

Alert.alert('Names Data',`
    originalFullName ${Constants.expoConfig.originalFullName}
    currentFullName ${Constants.expoConfig.currentFullName}

Very frustrating as we store this value in our database during our onboarding process. I have checked the Expo build and can see that it is present during the ‘Read app config’ stage… but when built as mentioned always undefined.

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