app42 chat realtime

0 votes
Hi, stephertz team:

  I use app42, I want to write a chat function in our app, I send message to a friend by push notification, beacuse it is real-time.

But if a user close the push notification of my app in the iphone, he will not receive any message real-time.

Is there a way to solve it?
asked Jun 20, 2014 in App42 Cloud API-BaaS by riovoxtools (45 points)
edited Jun 20, 2014 by riovoxtools

1 Answer

0 votes
Best answer

There is no way to recover lost notifications. Also, there is no guarantee that you sent a push and that will be delivered even if the app is open.

But there is another way here using App42 StorageService. What you can do is when you send a push notification, save the same on the storage when you open the app you can check the storage for the messages, if there is message you can fetch. That way you can maitain the chat history also if required.

Hope it will help.
answered Jun 20, 2014 by rajeev.etc (1,660 points)
selected Aug 19, 2014 by riovoxtools
Thank you for your replay,

But I want to receive the message real-time?
Can I write a function through tcp/udp  in custom code server side, so i can send message by tcp/udp protocol.
Can I use thread in custom code server side?
We do have a product called AppWarp( ) that supports message sending using tcp/udp protocols. You can get more details here( )

Let me know if you have any other doubts regarding this.

Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on