Android Expo app problem workaround-ed

Was getting this error when trying to view project in development on Expo app - Android

[Text strings must be rendered within a <Text> component](

it pointed to this code on the second line

                <WebView originWhitelist={['*']}
                    source={{ uri: '',baseUrl:'' }}

I removed all spaces between the tags for the entire segment, kept in the newlines and tabs though, and it stopped giving the error.
Hope this helps. May be a React Native problem and not an Expo Problem. It didn’t appear on the Web maybe as this segment of code was bypassed as WebView id not supported on Web

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