Exchange data between iOS apps - ios

I know about x-callback-url, and how it's possible to e.g. send a string to an app in iOS.
But is it possible to do this the other way around, e.g is it possible for an iOS app to fetch the song currently playing in Music.app? Can an app fetch a message with a specific caller ID from Messages.app?

I believe, you need to have access to their API/backend to do that. Talking directly to another iOS app is not possible.

No, I'm not a crook ;) I want my app to read the content of an SMS that my gateway has sent, for device authorization.
register a scheme for your app. add a link with that scheme in your sms, with the registration code as uri-path. by clicking that should open your app and you can process the uri.

Related

Is it possible to work with the Podio iOS app from other apps? I.e. open Podio and show a specific entry in an app

We are in the process of creating an app that communicates with Podio.
During the work flow, we would like our app to open up the Podio iOS app and show a specific entry in one of the apps/tables of Podio.
Is it possible to work with the Podio iOS in such a way?
Can we trigger opening of Podio and navigation inside the app, from outside the app with APIs or similar?
Hope someone can help with any input.
Thanks in advance.
Podio iOS will open (or at least offer end-user option to open) links that starts with https://podio.com/*. This is exactly the way to go directly to Podio item from your email (for example), when you received mail notification. So, if you know your item URL, try opening it by system app, and iOS should let Podio app open it.
That won't work for any Podio url, but only for task, status, item urls.

How to get notification badge number from one app to another ios

I have an app with a tableView which have the entries with names whatsapp, messenger, slack etc. Now take Whatsapp for example when you tap on it it'll open whatspp via deep linking.I want to show notifications sum, which user has received on his whatsapp, onto my app. After searching around I came to knew that this is not possible to get push notifications of one app to another it's a server to server thing and many other explanations.But my question is if notifications have been received on whatsapp can I get the badge number and sum it and show it in my app? This screenshot will show more:
So the 12 is coming from whatsapp as a sum of total unread messages you can say. So how to achieve that?
UPDATEI found these links which says that it might be possible.How to catch all push notifications from other apps on iOS using private frameworks?How can I receive push notifications of an other app?
No it is not possible. Because Whatsapp is another app. So there is no linking between them. The apple security your app can not gets any other app information.
In latest iOS, they've loosened that up a bit. For example, the iOS programming guide now has a section on passing data between apps by having one app claim a certain URL prefix, and then having other apps reference that URL. So, perhaps you set your event app to answer "event://" URLs the same way that a web server answers for "http://" URLs.
see this document:enter link description here

Delete dial call number from recent call list in ios

I have a some special requirement to delete dial call number from call list. I research a lot on SO but not able to get any answer for this. Is it possible in iPhone?
Apple doesn't allow developers to modify call list or history, since it will violate user's privacy policy. It is not possible to achieve in iOS with iOS public framework, used to submit apps to appstore. It is only possible by using private frameworks... or you can say jailbreaking the device. But you won't be able to submit app to store. It will be rejected.
Simple answer: No you cannot. Apple iOS doesn't allow you to access some of the applications such as Phone and Messages - So it is not possible for you directly access the call log, read messages or whatsoever. What you can do is, you can open the Messages/Phone app with a pre-defined number to call or a message to send for performing user verification actions.
Take the example of Uber app; you can call the driver by tapping on the Contact button, but there is no way that app can access your phone log and delete the recent numbers from the record - unlike Android devices.
It may be possible by jailbreaking, which on the other hand won't let you put your app on the App Store.

Perform some action depending upon the text in the inbox of iPhone

I am having a message in iPhone inbox. I want to send that message to a small app which in my iPhone to do some particular task.
Can some one suggest me , Whether it is possible to send that SMS to our application development.
Thanks.
Unfortunately is not possible handle sms at SDK level.
If you manage the send of sms you can add a link into it and, using a custom url scheme, passing data to your app.

Display all the apps that support sending messages (Chatting)

I want display all the apps in my app that support chatting. Actually I need to send the selected text via message applications (i.e., WhatsApp, WeChat, etc..) those are installed in my iOS device.
I have gone through UIDocumentInteractionController but it allow to share files only. But here in my case I want to share just text.
Is this possible. Please help me out, thanks.
iOS does not have a single option for sharing text, the UIActivityViewController can be used and will show the iOS integrated social networks.
You will be able to add you own service to this dialog, as long a the app has a URL scheme to support its.
A example of a Whatsapp UIActivity: https://github.com/jberlana/JBWhatsAppActivity
If you know the URL schemes (if the chatting app provides one) of the app, you can check if a app exists or not using -canOpenURL: of UIApplication class. If they support url schemes, you can send text in the format that those app supports.

Resources