Answer the question
In order to leave comments, you need to log in
Finally not working in Cordova?
I can't figure out why the code doesn't work:
this.doMagic() // <- тут Promise который выкидывает reject
.then(_ => {
alert('test 1') // <- это не срабатывает
})
.catch(_ => {
alert('test 2') // <- это срабатывает
})
.finally(_ => {
alert('test 3') // <- это тоже не срабатывает (ХОТЯ ДОЛЖНО)
})
Answer the question
In order to leave comments, you need to log in
I think that the problem is not in Cordova itself, but in the browser engine on which you run it. If suddenly you are not using crosswalk yet, then use it, and the problem will most likely be solved. Along with a bunch of others :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question