Have anybody heard of some opensource, or one that can be bought, client-side (web, android, ios) chat based on pure pubnub or pubnub ChatEngine?
The reason I'm asking is that it looks like PubNub gives a reliable backend, but it doesn't come up with UI that we can just use as drop in replacement for our current chat, that doesn't perform well, and we don't really have time to build UI from scratch.
I found many examples of really simple chats, but it's still a long way from that to fully functional chat that we need to replace.
We have a multi-room chat, with users being able to access only some subset of rooms and also open one-on-one chats. Similar to Slack, but with way fewer features.
Thanks
There is a well-made UI for ChatEngine using Vue.js. The example has 1 to 1 chats which can also be chat rooms. There is a tutorial for building the app with ChatEngine on the PubNub Website:
Tutorial:
https://www.pubnub.com/tutorials/chatengine/vuejs/chat-app/
Live Demo:
https://ajb413.github.io/chatengine-vue-chatbot-1to1/
GitHub Repository:
https://github.com/ajb413/chat-engine-vue
Screenshot:
Related
I want to add chat functionality to a game I have developed using Unity, and I'm going to use Telegram for that. I didn't found telegram api documentation enough helpful, and it seemed to have steep learning curve specially for advanced features.
So I searched for something that could give me a high level tool, and I found Telegram Cli (also in Python) and Telegram Bot Api. But I don't know that they can be used to develop a chat app. Telgeram Bot is suggesting that is used for creating telgeram bots, not chat app instances. Also Telegram Cli seemed to be a command line version of desktop app.
Anyway what I want to add is chatting with friends, adding other players to friend list, and other thing that a chat application has.
My question is: Can I use either telgeram bot api or telegram cli to create something like a chat application? or I have to use Telegram Api and MTProto?
If I have to use the second method, I would really appreciate some sample code or a simple guide.
Also I have read other questions like this and this. Second one is really good, but I don't understand VB.net. Some C-Like language or python is really better.
and I have read documentation pages like Creating an Authorization Key (Sample) or Creating an Authentication Key, and they weren't enough helpful. TL Language is quite complicated too (IMHO).
Edit: Since it might be ambiguous, I want to use Telegram Api to add chat In my game.
you didn't mention specifically if you want players to chat inside your app or out of your app in telegram?
out of your app: well, you could just create telegram.me/username links inside your app and when a user clicks it. Telegram app would open and he would start chatting with the opponent just right away.
this method is:
easy (no special coding required)
familiar UI
not limited to game users
some might not have telegram installed already and would be forced to download and extra app to use your game
it would be out of your control (who knows when their service might not )
inside your app: you'd have to write your own telegram client, which is not easy and going by telegram rules, like getting pin codes for signing in and other stuff, I don't think it would work for you. Instead if you try to write your own game messaging system yourself, I guess you'll spend less time and get better results.
good amount of coding
have to go by an extra signing process for users
need to keep up with updates and changes
Is there any control to show messages on iOS, similar to the SMS app and a lot of other apps (Viber, ICQ)? It seems many of them are using the same control for this.
To expand Noah's Answer, there may not be a control like that in the iOS SDK, but there are people on github, bitbucket, and cocoa controls who have rolled their own. See here for a pretty accurate clone of the messages.app that comes bundled with the iPhone.
Layer is one of the easiest ways to integrate chat and messaging features in your apps. With the recent launch of Atlas, it is even easier to integrate Layer in your app using its fully featured, high performance, 100% customizable UI kit. The important controllers that you can use to simplify chat UI are:
ATLConversationListViewController: A controller that provides an editable list of all Conversations for the authenticated user.
ATLConversationViewController: A controller that a scrollable, auto-paginating view of the Messages in a Conversation.
ATLParticipantTableViewController: A controller that provides a sortable, searchable table view for selecting a set of participants to communicate with.
For full implementation details about integrating Atlas and Layer in your app, see Implementing Chat/Messaging in iOS apps with Layer.
No such control exists in the iOS SDK; the third-party implementations you mention are just mimicking the SMS app’s UI. Most implementations of this are based on a UITableView; you’ll pretty much have to roll your own version of it starting from there.
Preview:
I am using juggernaut chat server.I am having redis and juggernaut server running on machine. I am able to do chats within my local network on vaious web browsers. Everything is working smoothly. As juggernaut is a server driven chat server so i am quite sure about the scalability thing. Now here is the thing:--
Whats the problem:
I want to have a iphone native app too where user can login and chat with his friends. Now the thing i want to know is how do I push on iphone app, cause for juggernaut client registration a javascript code is needed. Something like this:
var jug = new Juggernaut;
jug.subscribe("channel1", function(data){
alert(data);
});
Basically how do i push new notifications to Iphone chat window. I don't know much about iphone as I am web developer. Still from google search etc I came to know some possible ( may be) ways:-
We can embed a url in iphone window. Is this a good approach?
Other thing we can do is using UrbanAirship kind of services we can do push notifications. Will push notification works for chat? I don't know about that even.
Third option can be polling. Iphone chat client keeps on hitting my rails app for new notifications. But i think this will be a very bad approach.
What are the other possible solutions?
Can any iPhone/Android developer guide me what should i do. I will eventually hire a Iphone developer to do all the coding part. But I want to have a big picture in my mind so that I can provide a complete docs of all the things, and have a clear picture how I want to discuss things with him before writing down the code.
PS: I am looking for a solution which works for android/nokia devices too. Cause later on I will be developing an application for that too. Basically it will be good to have a same solution. if not then compatibility factor should be there atleast.
Apparently there is WebSocket support in MobileSafari on 4.2 (source). You could probably write up a client that uses an embedded UIWebView to marshall the events to/from the Juggernaut server and deliver them to your app via shouldOpenURL and custom handlers.
You might also look at libPusher by Luke Redpath for interacting with push communication via the Pusher web service.
Check out this library: https://github.com/fpotter/juggernaut-cocoa
It's really easy to use.
I want to integrate analytics into my iOS app to collect statistics about my users.
So far I found these two services:
http://www.localytics.com
http://code.google.com/intl/de-DE/mobile/analytics/docs/iphone/
I want a library that's easy to implement. Are there any more out there and what is your experience? What can you recommend?
I've used Flurry in several apps. Quite happy with it. Once the initial setup is done, it's quite easy to log and record metrics about pretty much anything within your app.
You can try heatma.ps to get insides on how people iteract with your applications.
Check out this article, I think it's very useful:
http://www.apptamin.com/blog/app-analytics-tools/
I have found UXCam very useful. It has very easy integration steps and provides user and mobile data you need. It lets you watch playback videos of users using your app and has rule based recording and analytics to filter out unusual session.
I want to integrate the iPhone sms like chat bubbles in my application. But when I read more about it I found that this will not be approved by the app store. Is this true? Cant we use chat bubbles in the application?
Here are some links which describes this.
http://www.iphonestalk.com/iphone-app-store-submission-rejectedbecause-of-chat-bubbles-angry-developer-speaks-out-5836/
Thank you
The article is over a year old.
There are hundreds, if not thousands of apps in the app store using chat bubble images that look identical to those used in the SMS app.
Some of those apps I use, some of them I created. I've never had a rejection based on the chat bubbles.
Based on the link, it sounds like it. Although I would review the full app store review guidelines here (Note: requires you to sign in as an Apple developer). When you think about it, it makes sense though. Apple has spent a lot of time designing a unique interface and if they have, in fact, trademarked/patented that style of displaying a two-way chat, there's no way they're going to let you use it.
To be honest with you, I think it's likely more complicated than "yes you can use chat bubbles" or "no you cannot use chat bubbles." There are probably some fairly specific guidelines that define what Apple has trademarked/protected and what they haven't, hence the suggestion to make them less shiny. Long and short of it is, if you application looks exactly like the iPhone SMS application, I don't see it fairing well in the review process.