Realtime communication app backend - ios

I am developing a desktop application which will communicate with an iOS app and transfer/receive data in realtime. What is the best way to do this? Should I use something like OpenFire as the backend server?
Thanks.

What about using Bonjour? This project on GitHub will help you a lot.
https://github.com/Cocoanetics/DTBonjour

I am going with OpenFire. OpenFire has a lot of options starting from private messaging to conferencing to email notifications using plugins. Overall, it is more flexible than any of the other solutions out there.

Related

Creating a push notification system with a React Native front end and a Java Spring back end?

Currently building a mobile application that ideally would have functionality that allows one user to "nudge" another user, pretty much the equivalent to a Facebook "poke." For the sake of building quickly, we'd like to use as many third-party libraries/services as possible. So far we were looking into using pusher and expo, but to be totally honest, we are a bit confused as to how to architecture this.
From what I understand, the front-end (ios app) would subscribe (open a socket) to a specific channel/server and the server would then send messages to the client(s) that subscribed whenever necessary. How this works with users being subscribed to every other user they are friends with, I don't understand. What's the proper way to architecture this?
I also read that on the front end, when a user doesn't have the ios application open you can't have any websockets open to the server, so how does that work?
Additionally, how does one bundle notifications??
Really confused with this, any help would be greatly appreciated.
Chris
Well, push notifications now mostly are implemented with Firebase. This is a service inside most of mobiles, so you only need use these libraries to implement your client application.
From the server, you only need to consume a rest api of Firebase.
Now there are permissions to allow mobile applications receive push notifications in background. You do not need to implement a socket or websocket, that is a feature of Firebase.
Read more about this.
https://medium.com/google-cloud/push-notification-for-react-native-bef05ea4d1d0
https://dzone.com/articles/how-to-add-push-notifications-on-firebase-cloud-me

Swift4- Is there any way to build an chatting app without fire base

Swift4- Is there any way to build an chatting app with normal api with web service with no fire base ?!! Any help any tutorial
Yes there are so many ways of building chatting app. You have to choose backend or technology which helps you to maintain continuous connectivity between your app and your backend server which stores your chat data.
You can use https://socket.io, https://nodejs.org/en or SignalR, etc. based on which suits to your backend or requirements.
I hope this will help you.

Openfire Meeting iOS Implementation

I have set up openfire on my EC2 ubuntu server with openfire meetings installed.
Focus user, test users, group chat and ofmeet are configured using admin console http://myserver:9090/.
Multi users video conference is working properly on chrome browser using https://myserver:7443/ofmeet/?r=testroom.
Now i want to implement this in an iOS app and i have no idea where to start.I did look into some demo projects but still unable to figure it out.
Can someone please help with this? If anyone has worked with something like this please let me know. Thanks
Try the following jitsi projects
https://github.com/jitsi/jitsi-meet-ios
Or
https://github.com/jitsi/react-native-webrtc
The Openfire Meetings plugin is an implementation that wraps various Jitsi projects (such as VideoBridge and Meet). To create a native client that works with Openfire Meetings, it is advisable to use the native client implementations as provided by the Jitsi project.
A good place to start are the React-Native based SDKs that are part of Jitsi Meet:
https://github.com/jitsi/jitsi-meet/tree/master/ios
https://github.com/jitsi/jitsi-meet/tree/master/android

How to integrate xmpp with Openfire server in iOS app ?

I want to make an chat app for iOS using xmpp and Openfire server. I have set up the server and currently running well, but I am not getting how to integrate the xmpp using Openfire?
I have also gone through some tutorial but in that tutorials they used a jabbered client.
Appreciate any help..
I found some thing like what that I need here https://github.com/processone/xmpp-messenger-ios

iOS remote controll

I'm developing an application for iPad, which works in this way:I have 3 devices and if i tap a button on one of them the others can handle this event in real time! I try bonjour, but cant not solve that the sender device send datas both of receivers Any suggestion? Many thank
My thought is you could put up a simple web service to do this, and have each device hook into the web service. I'd recommend looking into a realtime framework like Pusher. You could write your own (using polling), but something like Pusher should save you time. They offer an iOS library (docs) and it isn't too difficult to integrate.

Resources