Skip to content

Add method for fetching users by Identificator#87

Open
shu-ua wants to merge 5 commits intocloudmine:developfrom
shu-ua:users_search
Open

Add method for fetching users by Identificator#87
shu-ua wants to merge 5 commits intocloudmine:developfrom
shu-ua:users_search

Conversation

@shu-ua
Copy link

@shu-ua shu-ua commented Jun 30, 2017

Ticket number CMSB-713

We contacted the support with a problem that not all users was returned by getting search by Identifier with the query. This happening when we using this method
func searchUsers (_ query: String !, callback: CloudMine.CMUserFetchCallback!)

We were recommended to use a different search syntax for searching for users by id:
https://api.cloudmine.io/v1/app/{{appid}}/account/?ids=USER_ID,USER_ID

But this syntax was not implemented on iOS SDK, so we added the new methods, which return the correct count of users.
+ (void)searchUsersWithIdentifiers:(NSArray<NSString*>*)usersIdentifiers callback:(CMUserFetchCallback)callback

This problem is very important for us. If there are any features about which we do not know - please correct it.

Bohdan Shcherbyna added 5 commits June 30, 2017 15:47
@apbendi
Copy link
Contributor

apbendi commented Jul 3, 2017

Thanks @shu-ua! We will review the change and get back to you soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants