I have an issue where amounts of text (in my case a ToS) is not rendering properly onto the screen (this occurs when the string makes the text field larger than a height of 8000). I've read the solution to the problem is to split the ToS into multiple text tags.
How could I go about splitting the string at every new line and programatically generating a text tag for it?
for example:
"paragraph1...
paragraph2...."
into:
<Text>paragraph1...</Text>
<Text>paragraph1...</Text>