If the text length is more than one line I need it expands instead truncate.
There is no chance on. < iOS7 you can send only 107 chars with the new iOS Versions 7, 8 they increased it to 235 chars -> everything longer will be truncated automatically by the apn service.
On android there is a limit of 4kb of payload. If you exceed this you will get an error from gcm and your message could not be delivered.