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
Hi,

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?
Hi,
We do have a product called AppWarp( http://appwarp.shephertz.com/ ) that supports message sending using tcp/udp protocols. You can get more details here( http://appwarp.shephertz.com/game-development-center/ios-game-developers-home/ )

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

Thanks.
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 support@shephertz.com
...