Saturday 15 March 2014

Parse.com and Android - sending push notifications conditional to new user signing up -



Parse.com and Android - sending push notifications conditional to new user signing up -

parse.com , android question.

my parse.com backend consists of users have signed utilize app. users given "admin" status (also defined in parse backend), comes privileges - 1 of approve or deny new users live in same town or city do. example, admins live in town xyz can grant access other people live in town xyz.

my question this. using parse.com force notification service, can set force notification whenever new user requests access (i.e., new row added backend), force notification sent admin of town/city alert them new user requesting access app.

i have read through parse.com documentation on force notifications android here:

https://parse.com/docs/push_guide#sending/android

i didn't see issue addressed. may because much of terminology new me, read right on it.

can please point me in right direction here?

thanks!

i know i'm late , if haven't figured out, can utilize advance targeting this.

add new column field in parse installation class , field admins in towns.

then when user requests access, user can send client side force notification using advance targeting .

parsequery<parseinstallation> pq = parseinstallation.getquery(); pq.whereequalto("admin", "string consisting of admin"); // send force notification query parsepush force = new parsepush(); push.setquery(pq); // set our installation query push.setmessage("push notification text"); push.sendinbackground();

android push-notification parse.com

No comments:

Post a Comment