On android, the onTap event contains the following parameters:
{x: number, y: number, scale:number}
However, on iOS, the parameters are { point: { x:number, y:number}, target: number } (where target is the react tag of the tapped view).
Moreover, on iOS, x and y are normalized according to the scale already (see this line)
It would be great if the two platforms could provide the same behaviour here. I'd be happy to submit a PR to make the required changes, though it's worth noting that this is a breaking change.
On android, the onTap event contains the following parameters:
{x: number, y: number, scale:number}However, on iOS, the parameters are
{ point: { x:number, y:number}, target: number }(where target is the react tag of the tapped view).Moreover, on iOS, x and y are normalized according to the scale already (see this line)
It would be great if the two platforms could provide the same behaviour here. I'd be happy to submit a PR to make the required changes, though it's worth noting that this is a breaking change.