I am wondering how to send a parse push notification directly from my android app to evryone else using my app. Is it possible to do this?
2
-
You can do this using GCM push notification. [androidhive.info/2012/10/…AnAndroid– AnAndroid2013-11-23 07:38:31 +00:00Commented Nov 23, 2013 at 7:38
-
use this link androidhive.info/2012/10/…Harshit Rathi– Harshit Rathi2013-11-23 09:42:50 +00:00Commented Nov 23, 2013 at 9:42
Add a comment
|
2 Answers
If you want to use Parse, Go to parse dashboard and there you will see the settings for push where you will find this client-side push setting.
ParsePush push = new ParsePush();
String message = "Client message" + Integer.toString(i++);
push.setChannel("Channel Name");
push.setMessage(message);
push.sendInBackground();
1 Comment
johnrao07
can you schedule from within the app?
You can send push notification from client side as metioned by @Dmitry
However parse strongly recommend not to use that feature [Security vulnerabilites issues]
Parse developers recommend "Cloud code" to send push notification to other users from your app.
Please read this http://blog.parse.com/learn/engineering/the-dangerous-world-of-client-push/
1 Comment
Hudi Ilfeld
the link is broken