Description
TIMOB-28542 focused on the wrong angle of the problem as it focused on the JSON objects rather than the newline issue. So if
console.log('random\nnewline\ncharacters');
is used then it doesn't show.
const win = Ti.UI.createWindow();
win.addEventListener('click', (e) => {
console.log(e);
console.log("{Starts with curly brace } but doesn't end with it.");
console.log('random\nnewline\ncharacters');
});
win.open();
Steps to reproduce
1. Add the above to your app.js
2. Build to iOS and click the window
Actual
The first two logs show ok, but the third doesnt
Expected
All three logs should show correctly
ioslib PR: https://github.com/appcelerator/ioslib/pull/215
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/13113
Backported to 10_1_X