Hi,
In my app I’m retrieving information from the current user frequently so it is important for me that the user’s information is synced with that from Users table that is stored on Backendless servers.
The problem is when some user property changes when the app is not running. Then when the app is started, the user’s property didn’t change locally even though it is changed on the server.
Backendless version: BackendlessSwift v6.2.10
Steps to reproduce the issue:
Let’s presume that the Users table has column ‘isPremium’ which is boolean.
And let’s presume that the current value of that property is true. Also, let’s presume
that user will never login or logout, he will always be logged in - only user token validation will be performed.
Expected behavior:
- Start the app
- Validate user token
- Print current user’s ‘isPremium’ property (prints true)
- Exit the app (without logout)
- Change the user’s ‘isPremium’ property to false in Backendless console
- Start the app
- Validate user token
- Print current user’s ‘isPremium’ property (prints false)
Actual behavior:
- Start the app
- Validate user token
- Print current user’s ‘isPremium’ property (prints true)
- Exit the app (without logout)
- Change the user’s ‘isPremium’ property to false in Backendless console
- Start the app
- Validate user token
- Print current user’s ‘isPremium’ property (prints true)