I have an app where anyone can download an iOS or android app. No user will have to register or login.
I need to be able for admin users to send notifications to all users if and when new information needs to be delivered. This will be a one way conversation from admin to all users. There may be multiple admins.
What is the best way to handle this? Is push notifications the best and if so what is the best solution? I looked at Parse and it might be a solution.
Can anyone please advise?
Parse and Urban Airship are very solid, and likely either will work for your needs.
Another solution is creating your own service using the Apple Push Notification Service (APNS) and Google Cloud Messaging. However, it requires a significant amount of integration time.
Related
I am new to gcm api for android and have for some time now i have being working on an android app to allow chatting between two users of the app. The app is such that a chat can only be initiated when one user opts to contact the other user. But my confusion comes in the manner i would be able to create a chatroom for these two users and for the other user to be able receive messages. since i found out that each user must subscribe to a topic inorder to receive messages in that topic. Would i have to subscribe all users to all possible topics or what? that is my big question but it seems it would have so much overhead considering i have 1000+ users.
Please i need all the help i can get here. Thanks
Would i have to subscribe all users to all possible topics or what?
GCM topic messaging allows your app server to send a message to multiple devices that have opted in to a particular topic.
It is not a requirement but it can ease the work for the server to send messages. In this tutorial, you will see that they have created a chat like environment using GCM without using the topic function.
BUT consider the effects on your server like how will it behave on the potential load when you use the topic messaging, especially the the message will trigger an interaction from the user to the server.
App is already published on playstore, can anyone explain the proper way or channel to create and send notification to the end user? Where i can also get the info regarding how much device has received the notification and how much user have clicked on the notification and checked it?
Implement GCM(Google Cloud Messaging) in your app and end users should install your updated app (with GCM)
“Google Cloud Messaging for Android (GCM) is a service that helps developers send data from servers to their Android applications on Android devices”. Using this service you can send data to your application whenever new data is available instead of making requests to server in timely fashion. Integrating GCM in your android application enhances user experience and saves lot of battery power.
--https://developers.google.com/cloud-messaging/
GCM tutorial available in this link.
Happy coding :)
I want a push notification, when there is data in server change,delete or added etc The notification is associated with the user. And the Google Cloud Messaging notification is associated for the application running in device. Also there is a lot of over head for developers, when developer are creating the system using google cloud message. Therefore I decide not to use Google Cloud Message.
I know is using XMPP or WebSocket can fulfill my requirement but it is battery inefficient. My question is there a better approach to fulfill my requirement.
You can send the GCM registration Id in the login request to the server and remove it once the user logs out. This way you can send a GCM message to a particular user.
If you want to use a GCM alternative you can try Pushy.me, its also a very good service that uses MQTT protocol and have less headaches as compared to GCM.
Depending on your specific needs, using an alarm and intent service to poll your server every so often - say 24 hours - can work. Then create a local notification if needed. This way no third parties are needed, but you won't have real time notifications.
I am developing an app in android in Eclipse IDE. The app modality requires that any user can challenge his/her friend to do a certain activity. Whenever a user does so, the friend will immediately get a notification in his/her phone. Even more, the user who challenged the friend, will also receive a notification when the friend accepts the challenge. Is there any particular way I can provide this functionality? I know how to generate notifications. But the server side interaction is quite confusing. Should I check the server database through the app at frequent intervals and check for such activities in database? I think the procedure will hamper the performance of the app. I would be very grateful if anyone can suggest a good way.
But the server side interaction is quite confusing.
As you're pointing out, it's the server part not the Android one what's confusing here. If you don't have any constraints on the server part, I'd recomend to use Socket.io http://socket.io/ They have a tutorial for connecting socket.io with Android: http://socket.io/blog/native-socket-io-and-android/
It seems that you don't really need an interaction between the differents users but only a way to notify them. I always used Google Cloud Messaging to do so. It enables you to receive push notifications. As you said, checking the server periodically is battery/data consuming and not the best way to do it.
This link might help to set up GCM : http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/.
this is rather a generic question and I'm not sure where to put it.
Just wondering if there are any good app builders which offer user subscription as a feature and if it is possible to send push notifications to certain unique users. For example, if I have 10 users who have downloaded my app (numbered 1 to 10), would it be possible for them all to log in and would it be possible for me to send push notifications to only User 1,3 and 5?
Also, is there any way they can respond to this notification via my app?
Any info about an app builder with such features would be appreciated. I've checked a few such as AppMakr, but they don't seem to offer such functionality/
Any help will be much appreciated.
Cheers
Try GCM (Google Cloud Messeging)Please check the below link to start with.
http://developer.android.com/google/gcm/index.html