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 /
  • General Discussion /
avatar image
Question by info-2 · Jan 07, 2018 at 06:48 PM · apisunity3dsdksPush NotificationsPartner Add-ons

What happened to the OneSignal addon? (having iOS push errors with PlayFab)

Hi there,

I'm wondering what happened to the OneSignal addon development (https://playfab.com/add-ons/onesignal/) as it is not listed under the Add-ons page anymore?

Background story:
I've followed PlayFab's latest push notification instructions for Android (using FCM) and iOS (using UnityEngine.iOS.NotificationServices). While Android - FCM worked after some struggles (too many method references coming from the FCM plugin, it finally built with Gradle and multiDex enabled), I can't get iOS to work:

Testing with two different iPads, both devices are registered successfully for push notifications and their APNS endpoint shows up in their PlayFab player profiles. I'm able to send a message via "Send push notification" button once (green checkmark behind the button), after which the following message occurs in all subsequent attempts: "Failed to deliver to mobile device. Check that the device is registered for push notifications. Error: iOS Push Notification Failed: Client has been unregistered for push notifications..". The client app has not been touched at all. Regardless of success or failure, there is no push notification showing up on the device. My title ID is F31A.

Related threads:
https://community.playfab.com/questions/10443/ios-push-notifications.html

https://community.playfab.com/questions/15918/fcm-ios-push-notifications-arent-working-android-d.html


Long story short, after one day lost with this iOS error I'm thinking about moving to OneSignal (also since it has the "collapseKey" parameter that PlayFab doesn't have for replacing old push notifications for push spam prevention), but it is unclear to me how I would link OneSignal's generated playerId in a PlayFab profile, so I can send push notifications to this user via Cloud Script. I could let the client call a Cloud Script that adds its OneSignal playerId to its PlayFab profile, but this would basically mean the client could exploit this behavior and send arbitrary device data possibly from other players.

Your help on one or both matters is much appreciated, as always!

Best,
Florian

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 · Jan 07, 2018 at 06:55 PM

Previously, we had a number of potential add-ons for the marketplace listed, in order to solicit feedback from the development community on which ones they wanted (to see which got more response than others, and so help with prioritization). That didn't work as well as planned, and actually looked like it caused some confusion. So we removed them from the marketplace, and added Feature Request posts for any that didn't already have a post (so that folks can "like" them there). For One Signal specifically, we haven't had a lot of requests for it, so it's still on the backlog.

For iOS, can you provide us with the title ID and the PlayFab ID of a player in that title that is registered for Push on iOS? Also, before we do any testing, can you try one thing? Re-register the title for Push using the Admin API call - not the Game Manager. I have noticed that in the rare cases where folks get stuck on this, that using the Admin API often helps to unblock them.

Comment
info-2

People who like this

1 Show 2 · 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
avatar image info-2 · Jan 07, 2018 at 10:34 PM 0
Share

Thanks for the details, Brendan. Another evening lost with Apple's certificates, I can't even register the title for push on iOS anymore (it was registered before) - regardless of my Admin/SetupPushNotification input in several different combinations, the response is always "Invalid parameter: PlatformPrincipal not valid". OneSignal takes the p12 file without hesitation. I really liked how the push integration is done is general and with the server.SendPushNotification method, but I'm now giving up on this on the PlayFab side, since asking you for help with Apple's certificates <> PlayFab format conversion would just be too much.

avatar image Brendan ♦♦ info-2 · Jan 08, 2018 at 03:59 PM 0
Share

Feel free to send us the p12 and your Title ID, if you want us to see if we can get it registered.

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Google Play Games: Silent Login 1 Answer

    How can I create team tournaments like Toon Blast game 3 Answers

    Catalog's Item Custom Data 1 Answer

    OAuth consent screen and Playfab: Can't verify because I don't own playfab.com domain 2 Answers

    How to implement Daily rewards with Playfab? 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