android - Does Parse.com API's allow identifying a particular customer? -
how can use parse.com android api's identify particular user ? flurry allows using flurryagent.setuserid
, crittercism allows using crittercism.setusername(
. parse.
have ?
possible solution work ?
parse.initialize(this, "asdfasdfs", "asdfasd"); parseinstallation.getcurrentinstallation().saveinbackground(); parseinstallation.create(identity == null ? "no identity set" : identity);
parse has default user class has 2 unique fields: objectid
, username
. (the user class has fields such email
, password
out of box).
you can use either objectid
or username
query specific user.
parseinstallation
class stores installation details of app user. there installation object per device. used push notifications , managing sessions or can use device specific tasks (again, messages).
the installation object created when user created/ signed device. since subclass of parseobject
(or pfobject
on ios), can store own fields of data on if needed.
Comments
Post a Comment