iOS: report an error when trying to write more than one NDEF message
The pre-existing code was returning a valid request id, but never
reported requestCompleted() or error(). As a result, there was no way
to figure out that nothing has been written.
We have three options here:
1. return an invalid request id;
2. remove an early return and actually write the first message from the
list;
3. report an error.
Options 1 does not match with what the other methods of the iOS backend
do.
Option 2 is a behavior change, so might be unexpected.
That's why this patch implements option 3.
Amends 8fd383214b710a610edd18e9db5b029dbe030edc.
Pick-to: 6.9 6.8 6.5
Change-Id: Ib588a8b0183f87b23829b9b31a4c74b7ba5c290b
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>