Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Brendan · Jun 10, 2016 at 07:31 PM · Push Notifications

How can I use Push Notifications

Question from a developer:

How can I use Push Notifications in PlayFab?

 

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Jun 10, 2016 at 07:32 PM

There are a couple of ways to do Push Notifications right now. One is via our Server API set (https://api.playfab.com/Documentation/Server/method/SendPushNotification), which is commonly used for sending player-driven events like telling a player that his score has been beaten by a friend, or that their base has been attacked. What you would is, when a player takes an action that could trigger a Cloud Script (to tell the other player something, usually) check in Cloud Script if there are any players that need to be notified, and send them the appropriate message.

The other is via PlayStream (https://playfab.com/features/#play-stream). Using PlayStream lets you trigger Actions based upon Events occurring in the service, which let you automatically do things like granting items or VC to players, setting statistics, calling a Cloud Script, or (as in this example) sending a Push Notification.

We'll also be providing ways to do bulk notifications to users in an upcoming update, including via our Add-ons Marketplace, with OneSignal.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    No one has followed this question yet.

    Related Questions

    Can't get Android Push to work [Unity SDK],Cannot get Android Push to work [Unity SDK] 1 Answer

    FCM ios push notifications aren't working (android does) for Unity 4 Answers

    How can I use AdvancedPlatformDelivery to send push notifications? 1 Answer

    Any reasons not to utilize a different GCM plugin? 1 Answer

    Unity RemoteNotification userData empty where I expect CustomData 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges