Quick fix to solve XMPP iOS VoIP background execution rejection by appestore - objective-c

I developed an xmpp ios chat application. The application requires the functionality of receiving the chat messages even if the application in background state. In order to achieve this, i used VoIP background execution to stay the user session alive instead of implementing apple push notification . The application is working fine. But the problem is that, the application is rejected by the appstore(Meta data rejection). Is there any quick way to solve this issue ??? Thanks in advance.

By giving background mode capabilities would not allow to make your app live if there is no functionality of VOIP in the app.
Use Pushkit ( Silent push notification ) like whatsapp, facebook etc chat app to keep your chat functionality in background or kill state.
Let me know if i could help you in push kit or anything else.

Related

Socket.io keeps disconnect if I dont touch the app for a long time

I am creating a voice call mobile app using react native as my mobile app and node.js as my backend and i noticed my socket keeps disconnecting when I dont touch the app for a long time. Since I am creating a voice call, the users doesn't really need to touch the app. Any ideas how i can fix this?

Does tvOS support notification facility for chat applications?

I am building a tvOS app for the new Apple TV that needs to get notifications from a server every time that a chat message is sent. This notification is also to be displayed on the Apple TV. As much as I understand push notifications are not allowed with tvOS.
With this being said, are there any alternatives to what I need?
To clarify: This is a chat app that needs to display a notification to the user on the TV screen every time a message is received by the user. The app stays running indefinitely, while showing instant notifications. - I cannot use push notifications.
Please let me know if this makes sense, and thank you in advance for your help!
We recently built an app for apple TV that shows instant messages from different clients connected to our server. A good library that will answer your requirements is socket.io-client
Just google socket.io and learn how it works. Basically, you wait for a connection on your server and then you can send messages to your clients. On the client side (tvOS in your case) you specify what methods to run as response to the different event coming from the server.
Good luck.

Handling iOS8 interactive notifications interrupting our app

We're currently testing our existing app against the iOS8 Beta 5.
While testing the new iOS interactive notifications (as implemented in iMessage), when these arrive while focus is on our app, our app is not automatically interrupted. The app continues to run until the player has responded to the notification.
Our app is an action game, so you can see the problem with it continuing to run without user input.
Is there any way we can make our app recognise the incoming notification, and enter a paused state?
I had been expecting iOS8 to handle that gracefully and suspend the app, but it doesn't do this, at least not in Beta 5. So I assume that Apple are expecting developers to implement this themselves on a per-app basis?

Facebook app clean notifications and badge.How?

I work on application, that uses Remote Notifications, and I am curious about something:
I notice, that Facebook app cleans notifications and application badge, when you read it in browser,even if you killed an app from app switcher.That happens when friend add something in your timeline.
So my question is: How this is done?
My understanding is when Application is killed from App switcher it goes into suspended state and cannot execute code.Is it possible to do this in my app?
As I understand they just are sending push notification with badge number set to 0.

Push notification in adobe air (android and ios) with urbanairship/parse

I am looking for a solution or a guideline for one that will enable me to register to one of the big services that enable push notification.
I know that it will be easier in IOS http://www.adobe.com/devnet/air/articles/ios-push-notifications.html
I have problem with it android even though I successfully send a push notification to android. but without registration like explained Heading here.
http://afterisk.wordpress.com/2012/09/22/the-only-free-and-fully-functional-android-gcm-native-extension-for-adobe-air/
Could someone direct me to a solution
Thanks