I don't know of another way (I've not looked for an alternative solution). My Mac is boxed up at the moment, so I'm not in a position to try anything else right now.
I wonder why it's crashing? I definitely tested the code on an iOs device. Could it be something trivial like the data type returned? Perhaps try putting it in an [anything as text] block.
Sorry I can't be more helpful at the moment.