Text string error

Hello guys, my code threw this error

“Invariant Violation: Text strings must be rendered within a component.”

still don’t get the reason why tho

Post a screenshot of your code here.

Basically, the error only occurs while using the android emulator but on the web browser it’s working fine

Thanks for posting the error but please post the code for the AppTextInput component.

The reason for the error not showing on the web is because the codes are parsed in different ways depending on the platform on which it is running. That is why react-native is a cross-platform framework

Here is the AppTextInput code

And how you call it in app.js ?