ios - Update Parse Installation objects using REST and only have deviceToken -
when ios users agree receive push notifications on devices, store devicetoken in our backend db.
we want use channels send pushes, can't update installation objects device itself, it's not implemented. need , handle subscribe/unsubscribe directly app itself.
but, @ possible/doable subscribe/unsubscribe installation object via rest when have devicetoken?
the way see pull installation objects parse using master key, traverse devicetoken's find 1 devicetoken need, , use it's corresponding objectid send update call , subscribe/unsubscribe device?
is there better way, or "forced" move native app itself?
you should able query installation class directly devicetoken , master key via rest , put update.
https://parse.com/docs/rest#installations-querying
Comments
Post a Comment