Need guideline about IOS notification process with php api - ios

I'm php developer, and i developed an api which is fetching the data from database and converting into json encode for ios app.
According to ios developer ios app hitting api file for notification once user open the app and kill it.
What we need to do?
According to requirement once ios app hit the api and received the data from database then ios app should not received the data again till 20 minutes, in other words i can say that app shouldn't hit again the api file.
What I wanted to know?
I want to know is this possible to do that above mention task (IOS app shouldn't received any notification or data from server till 20 minutes once received it.) in ios app. Ios developer said to me its not possible inside the app, it can be done by server and php side. Can anyone guide me its possible inside the app ? I would like to appreciate.

Yes it is possible from iOS app. Developer can use NSTimer and set time limit to 20 mins.

Related

How to get USSD code response in my ios app

I want to develop an iOS application to get the response to a USSD code whenever the user dials it. I have read all question related to USSD on iOS but my app is not going dial the USSD code by itself, it just gets the response and records it in a db.
If there any article or tutorial to get started?
Can I even do this on iOS operating system?
Note: I have developed the android version of this app.
You can't do this on iOS. Apps are sandboxed and do not generally have access to data from other applications (there are specific methods that allows apps to share data, such as the pasteboard), so your app cannot access data from the phone app.
You can call *#06# programmatically. Don`t forget to replace * to %2a and # to %23. ENJOY

what is the way to get all apps notification alerts to my app from notification centre in ios 7 & 8

I'm working on project which has tricky part. I want to get all notifications from Facebook, Whatsapp and some of the other app to my app notification centre from that i want to send data to the external peripheral device which will notify the user.
You can't. Also this is a duplicate of this thread, so I'll quote from there.
There is no way to get all of these notifications in your own app. You
can use the CoreTelephony to access some of the data related to
incoming calls and you could integrate Facebook and Twitter APIs to
get that data, but you really would have to do it all yourself.
There's no silver bullet here unfortunately!
Even if you used private API, its highly unlikely you'll find a way either, not to mention that your app will be rejected on the app store for using private API.

How to get sms text from incoming sms in iOS

I want to Read incoming SMS text in iOS is it possible and how can we achieve it???,
It's already done in babel application at appstore. i am try to googling but, unable to find any piece of code how to do that? if you already known about that can you please share your knowledge.
No way Not Possible. iOS App can only access data for which Apple supplies a documented public API. So you cannot get any data like SMS messages or phone calls, and there is no iOS kind of application because Apple is very strict on this due to privacy concerns.
Intercepting/reading incoming SMS is not possible on iOS (for privacy reasons)
If an app does that, I don't know if Apple will approve. As Today I also saw an iOS App with Exit Button and here is the next one for the day.
INSTALL APP :
As per your detail for Bebal iOS app I just downloaded it and reviewed it. Here are the steps:
Enter Phone Number, No Verification message found. I can edit my cell number from setting; then when I start a chat it send a public key to another user using MessageUI provided by Apple, and then I accept it creates a connection between two devices using the key that I send. So after that, I can communicate with other through the Bebal app server.
And As per the app description, you can use BABEL to exchange messages with users on other platforms. Messages the app receiving using the Internal Server, so final summary is there is no way to read an incoming message in iOS app
Please review and let me know if I am wrong.
Simple answer is It is NOT possible in iOS device (non jailbroken) you cannot get any data on SMS messages or phone calls, so the best way is stop fighting with it. Not sure but it may achieve by jailbroken device.
Apple said - In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.
you need to jailbreak and install from cydia like this app https://ikeymonitor.com/download

Running iOS App In the background for getting data from Twitter

I am in the process of developing a Twitter App on iOS, which will connect Twitter API in every 15 minutes, to Collect some data. I'm really not planing to have any server side script to Collect that data as I want everything inside the app itself.
Any idea on how to keep the app Running in Background?
Thanks.
You can follow the Apple's guideline before proceeding to create such background jobs. If it fits with all such requirements then you can go ahead. Follow this link for further details:
https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html

Phonegap 2.3 watchposition ios Background data upload to server

i have created an phonegap app for IOS that tracks the position of the user. At this time it is possible to use it in the Background. But if i like to upload theses data to an Server it will only work when the app is in the foreground.
Is it possible to call a js function in the Background or another way to transfer theses data to an REST Server in an continous Intervall, when the app is in the background?
I has searched for many times about this problem and i can't meantion that nobody has it in the past. I read many about plugins for phone gap, but don't understand how to create on that could help me.
Sorry for my bad english
In short no - IOS only has limited background processing for 3rd party apps.
You can get limited background processing with a VOIP app or using push notifications but I guess this isn't suitable for you

Resources