D
D
Dmitry2020-05-19 13:10:06
firebase
Dmitry, 2020-05-19 13:10:06

Opera mobile/mini not sending request to firestore?

Faced such a problem. There is a collection with multiple documents in the firestore that vue gets via vuex
Example action

async setList ({ commit }) {
  const res = await firestore.collection('collection').get()
  // ...
}


When loading the application, the main component waits for the promise to complete and hides the loader
mounted () {
  this.$store.dispatch('setList').finally(() => {
    this.isLoaded = true
  })
}


The problem is that in all browsers including mobile (chrome, firefox, usweb) this works correctly.
But in mobile operas, this either does not work at all (an infinite loader), or the request is interrupted without receiving data, or it works fine, as in other browsers.

What's wrong with opera?

PS all browsers of the latest version
Due to the lack of developer tools, I tried to pass errors through catch and display them in the template, but there are no errors. Just does not send a request and that's it

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question