I’ve noticed a discrepancy between iOS and Android behaviour for the payload received by the listener registered with extension-push.
In the sample project, on Android, the following is printed:
DEBUG:SCRIPT: Push payload received: (activated: false)
DEBUG:SCRIPT: data = {
field2 = Other value,
field = Some value,
}
whereas on iOS it’s:
DEBUG:SCRIPT: Push payload received: (activated: false)
DEBUG:SCRIPT: payload = {“data”:{“field”:“Some value”,“field2”:“Other value”}},
id = 2,
Effectively, Android gives me payload.payload
It’s easy enough to handle, but I wonder if it would be considered a bug?