this is my native-app code: https://stackoverflow.com/a/20235961/2021585
As long as I send small sized data through postMessage() it gets echoed back properly.
But when I try to send a long data/string like port.postMessage({text:'ospj..LONG-MSG...'})
it does NOT get echoed back and the communication ends!!!
Where should I change to make large sized data communication possible between them?