Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Promises are not resolved inside change listeners callbacks until tapping the screen #2740
When my app start I show a spinner until the synchronization of my query-synched realm completes.
When the sync ends the spinner disappears because of the promise resolved.
The promise is resolved and the code go on.
The problem is that since the promises are not resolved until I tap the screen the loading process seems infinite and the spinner doesn't disappear.
Steps to Reproduce
I have this problem since almost 1 year. You can reproduce it by:
Version of Realm and Tooling
Hi @aureliopetrone ,
I did not test your code yet but looking at the code provided, the call to
I'm talking about this:
Try to add a resolve or reject after
Solved like this