We have a asp.net Web application which has functions of user activities like notification,messages,etc. And we have a native android app for this web app as well. Now we have to make functions of user activities like notification and messaging.
For eg. User A likes or follows User B or does any activity which will give notification to User B. notification or messaging system like facebook. in which if you tag your friend in some activity or like your friend activity then your friend will know via notification in android app as it shows in website
What will be best way or efficient way in android to detect the user activity and get the push notifications get going.
i have done bit of research but not getting the correct idea/track.
i have got some like
1) Android Push Notification using Parse
2) Android Push Notification using GCM
3) Android Service BroadcastReciever
3) Android Service BroadcastReciever
Pros:
Cons:
Do not use this approach.
2) Android Push Notification using GCM
Pros:
Cons:
1) Android Push Notification using Parse
Pros:
Cons:
My opinion:
If you have your own server(and database) use GCM. Integration with Parse doesn't worth it.
But if you have a lot of users with phones without Google Play Services it make sense to look at Parse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With