how do to get a list of pushRegistrations? I can see in in the returned collections of "player" in NoSQL but how would I get it via cloud code return in unity?
Customer Support
said
over 6 years ago
Hi,
You can get a list of the current player's push registrations using:
var registrations = Spark.getPlayer().getPushRegistrations()
Rafal Gawel
How can i unregister current device from push notifications?
Hi Rafal,
You can use the following in Cloud Code to remove the push registrationId from the current player.
You can read more about this here.
Thanks,
Liam
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Rafal,
You can use the following in Cloud Code to remove the push registrationId from the current player.
You can read more about this here.
Thanks,
Liam
One More Turn
how do to get a list of pushRegistrations? I can see in in the returned collections of "player" in NoSQL but how would I get it via cloud code return in unity?
Customer Support
Hi,
You can get a list of the current player's push registrations using:
This returns an array of SparkPushRegistrations.
Regards,
Vinnie
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics