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 kevinjulian · Jan 17, 2018 at 07:35 AM · Push Notifications

Title Shown PlayfabTitleId on Android Push Notification

I am using Playfab Unity SDK version 2.34.180102

I found some problem with Push on Android

these my related case :

- I tried to bulk push from Playfab Dashboard with schedule task, but the notification doesn't appear

- I tried to push single player from Player Tab, apparently it's work but the title(Subject) shown PlayfabTitleId

- I tried to push from FCM, it's works as we expected

- I tried to bulk push from Playfab CloudScript, it's work but the title shown PlayfabTitleId

Do you need another information related this case?

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

4 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by 1807605288 · Jan 17, 2018 at 11:19 PM

Thanks for your submission.

You are correct, it looks like the Title gets lost in some circumstances.

I have filed a bug internally on this issue. I'll keep an eye on it and post again once there's been some progress.

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
avatar image

Answer by Brendan · Jan 17, 2018 at 07:37 AM

Yes, can you please provide the code snippets showing the calls you're making, provide the details of the values of the parameters you're passing in, and specify your Push configuration? Specifically, it sounds like you're using the FCM plugin in all cases, is that correct? Finally, what is the Title ID, so that we can look at its setup?

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
avatar image

Answer by kevinjulian · Jan 17, 2018 at 02:16 PM

    public PFPushService(string deviceToken)
    {
#if UNITY_ANDROID
      var request = new AndroidDevicePushNotificationRegistrationRequest() { DeviceToken = deviceToken };
      PlayFabClientAPI.AndroidDevicePushNotificationRegistration(request,
          result => { Debug.Log("PFPushService: Play Fab Push Notification Registration Completed"); },
          error => { Debug.LogError(error.ErrorMessage); });
#elif UNITY_IOS
      var request = new RegisterForIOSPushNotificationRequest() { DeviceToken = deviceToken };
      PlayFabClientAPI.RegisterForIOSPushNotification(request,
          result => { Debug.Log("PFPushService: Play Fab Push Notification Registration Completed"); },
          error => { Debug.LogError(error.ErrorMessage); });
#endif
    }


void Awake(){
Firebase.Messaging.FirebaseMessaging.TokenReceived += (sender, args) =>
{
  var stringToken = args.Token;

  if (!string.IsNullOrEmpty(stringToken))
  {
    // create service
    _pushNotifServiceService = new PFPushService(stringToken);
  }
  else
  {
    // handle error
  }
};
}

Yes we use FCM plugin.


form-display.png (37.0 kB)
mena-code.png (16.0 kB)
Comment

People who like this

0 Show 1 · 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 kevinjulian · Jan 17, 2018 at 09:20 AM 0
Share

I cannot upload one more pic, that's show push notification work but the subject is '345B', and the message is correct

avatar image

Answer by AdrianVoinea · May 01, 2018 at 02:41 PM

Hello.

This may be an older post, but I'm experiencing the exact same problem:

1) Pushing to user directly, displays it with Title id in title

2) Pushing from Schedule Task doesn't do anything

3) Sending from Firebase console works as intended

Is there any additional configuration step which I might have missed?

Thanks in advance,

Adrian

Comment

People who like this

0 Show 1 · 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 Brendan ♦♦ · May 01, 2018 at 07:48 PM 0
Share

Yes, there's a known issue right now, which is specific to new Android Push setups. We're tracking on this in this thread: https://community.playfab.com/questions/18452/android-push-notifications-invalid-parameter-name.html

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

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    Push Notifications from the Web? 2 Answers

    iOS push notification permission issue 1 Answer

    Sending Push Notifications on iOS with title and message from Cloud Script 2 Answers

    iOS SendPushNotification Payload 1 Answer

    Avoid push notfication errors when sending notification to friends 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