How to list all the users belonging to the current application, not the current account in QuickBlox for IOS? - iphone

I'm using the Quick Blox ios SDK. I have created two apps in the QuickBlox dashboard. While listing the users in the application its showing all the users belonging to my account[users of both the apps], not the users of the current application.
How can I list the users belonging to any particular application created in my account in QuickBlox.

There is a checkbox named Show only application users

Related

Can you use CloudKit to access a user's contacts from a React/Django project?

I have a react/django project and we need to somehow access the contacts of our users. I was told to look into CloudKit's API in order to take care of this, however there seems to be no real information in their docs or in my Google searches on using this API to specifically access a user's contacts.
I am open to other suggestions as well. The ideal would be to access their contacts initially and then every so often compare their contacts to our list to see if any have been added.
You cannot access this data from a third-party app via a CloudKit API.
While Apple does store a user's contacts on CloudKit, they do so under these conditions:
The user opts-in to sync their contacts with iCloud (this isn't required for iOS users; they can be on-device only, or sync with another service like Google).
The contacts Apple stores on CloudKit are in a container that is private to Apple.
When you use CloudKit as a developer, you are creating a container for your app. You can only access data in containers you create.
Here's what you would have to do:
Create an iOS or macOS app that requests/manages access to the user's contacts.
Add the Contacts entitlement to your target in Xcode: Signing & Capabilities > App Sandbox > App Data > Contacts
Use Apple's Contacts framework to access contact data using Swift in your iOS/macOS app.
Once you have the data in your Swift app, communicate with your Django API to do what you need to.
One last thing. If you choose to go this route, you will have to reveal in your app privacy disclosures (in App Store Connect) what you are doing with the users' data.

Cloudkit Dashboard - add test users

Goal:
Create many fake users for development testing.
What I did:
Added 4 test users with different names on Cloudkit Dashboard as bellow:
Result:
The 4 created users show up on app with same name (always the name of the last one created).
Question: Is it possible to create multiple test users on Cloudkit Dashboard?
The way I create test users for CloudKit apps is by adding Apple IDs I own as admins of my app in App Store Connect: https://appstoreconnect.apple.com/access/users
Then in the CloudKit Dashboard, I go to Container Permissions and give them access to the CloudKit container. I then sign them in on test devices using my app.
This might be more convoluted than you want, but if you don't manually manage users in your app, it might be the only way.

How does Instagram check if the users contact are using the application?

In the Instagram app you are able to sychronize your contacts and than the app shows which of them use the application. They are probably using the Contacts framework. Are they fetching the numbers of all contacts and than comparing them in their database?
Yes, once you allow to give access to your contacts. Step #1 is to sync your contacts with their server and they checkout in their database, if any of your contact already using the app (registered to app with that mobile number), they show it for you to better getting in touch with them, otherwise shows you an option to invite them to get started.

How would changing facebook app id in my app affect previously signed up users

We built an iOS app and released it on App Store with a Facebook App Id, which was created by one of our developers using his own Facebook user.
Now, the developer has left and we need to alter a few settings of the app, but we do not have his login credentials to login as him. I know it should not have been this way to start with.
We do have the Facebook App Id, in the code.
What are possible solutions to this:
Is it possible to transfer the app to another user?
If I create a new app with another user and use the new Facebook App Id, how would it affect existing users of my app?
If you create a new app it will have an entirely different app id and secret. Your users would have to sign up for the new app. You would not be able to migrate the users to your new app, they would have to authorise it as if starting from scratch.
What you need is to get the old developer to add one of your accounts as an admin role to the existing app. This would give you complete control over it. Obviously this involves getting in touch with your previous developer and hoping they are nice enough to do it!
There is a section called "roles" on the dashboard for an app. This is where they will need to add your account.

Facebook app test users can't see app

I've started to create an app and I've created a few test users but when I login as them and try and find the app, it doesn't show up.
You have to submit App to Public Directory Listing then only users can see app.
Basic criteria for submitting app is to have 5 monthy active users (may be more as per new FB changes).
For now you can use app page URL directly if you want Users to visit app.