Sync contacts to iCloud groups via API - rest

Does Apple offer any API (that doesn't involve an iOS app) that allows contacts to be synced into iCloud and placed into specific groups?

Have a look at Reincubate recloud API:
https://reincubate.com/ricloud-api/

Related

Get data from all app's notification in IOS

I would like to develop an IOS app to get notification such as title and body from all applications in iPhone. Is it possible to do that?
No it is not. On Android, yes this is possible. But not on Apple. They restrict permissions so that you cannot access that information as a developer.
Every application is given a sandbox, a directory it can use to store data in. If the application needs access to data on the device that isn't located in the application's sandbox, it needs to request the data through a system interface.
App can only read their notifications, other things are possible with Jailbreak.
Learn about app sandbox here

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.

Interface to the AppStore?

I have a requirement that a client wants to be able to allow users to download apps from within an app (which I will call the main app), based on a user's score (when a user achieves a certain score, they can have an app). We would like to do this without linking to the app store directly, so that users of the main app can be granted access to another app.
So, is there a way to interface to the app store while hiding the official app store from the user? I have seen similar functionality in Passbook, but not exactly what we are looking for. Any ideas? Thanks! Viv
Possible duplicate
How to link to apps on the app store
If your app is in Apple appstore, you can use itms:// service to install apps directly. Check the above link that tells awesome stuff about the apple app store itms services.

Can i access iOS mail app data?

Is there a way using which i can access attachments downloaded though the iOS Mail app? I need to access photos or other documents in my app.
No You cannot access the Mail App Data in any way. It is against the Privacy concerns of the iOS device user. However, the images in the user's iPhone Gallery can be accessed and used in the app according to your needs.
If you register your app to handle various file types, then you could select open with yourapp from within the mail application. So you could send a file from the mail application to your app. For more information see https://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1
No, You are not authorized to take any device data without user interaction that too limited access. You can create your customized mailing data with you have sent mails.

iPhone iOS Dropbox how to pre-authenticate (link) an account for an app?

I would like to try out an idea of using 1 centralized dropbox account to store data for one of my apps. This would be the kind of a "public" collaborative storage space.
To do so, I need to pre-authenticate the user to use a particular dropbox account. Is there a way for me to link a particular app to a dropbox account, and then include some kind of "pre-authenticated/authorized" tokens within the app to allow the user to interact with my dropbox account without the need to login?
Thank you!