Android payload in push messages


#1

When I send a push message with a payload, it seems not to Work on Android.

The message is:
{“tokens”:[“TOKEN”],
“notification”:{“alert”:“Ny besked”,
“android”:{“payload”:{“sender”:“ClinicMessageSend”}},
“ios”:{“payload”:{“sender”:“ClinicMessageSend”}}}}

It Works smoothly at Ios, but at Android the payload get wrapped into a payload:

$ionicPush:RECEIVED {“event”:“message”,“from”:“622467872364”,“message”:“Ny besked”,“collapse_key”:“do_not_collapse”,“foreground”:true,
“payload”:{“payload”:{“sender”:“ClinicMessageSend”},“title”:“Scaut QA Edition”,“message”:“Ny besked”}}

Why?