Use the same error message on iOS and Android

Fixes #689