I got around it by extracting the alert { } block ...
# android
a
I got around it by extracting the alert { } block into a new method and calling that from onError instead.