You can only really test how it will work on the device ... on a device. This is made worse by the (intentionally) crippled implementation (no title, no payload, only text) of dev_push (polling to a server instead of real push). There is not much you can do about that.
One workaround is do tamper the notification object in the handler for pushes:
if(notification.title == 'DEVELOPMENT PUSH') {
// do special stuff to the notification object here
}
What is normally sent as paycode.transaction_id
I sent as the notification text (notification.text
) for dev_pushes and then copy it to paycode.transaction_id
in here... Works, but is very ugly.