Closed mrikh closed 7 years ago
Hi @mrikh, could you please enable QMServices logs and provide full logs again:
QBRequestHandler.enableLogging(true)
Hi @Pro100Andrey. Feel free to mark this issue as closed as I am no longer using the caching ability for users so I don't have the code sample to reproduce this issue.
iOS - 10.3 Quickblox SDK - Latest taken using pod install
So i am requesting all the users using :
QBRequest.users(for: page, successBlock: { (response, responsePage, users)}
and then checking if user exists in cache or not and adding them if he doesn't using:
On printing the unsortedUsers() in
usersMemoryStorage
it prints all the users i just added successfully but when i restart the application, the number of elements are 0.Logs for when fetching the list of users and adding them:
On restarting the application i printed the users in in the cache in my dialogue listing and it comes out to be 0
Whenever i restart my application i'm signing in a user. For example everytime a user kills the app he has to sign in again. Is it possible that the cache is being cleared because of that?