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 /
  • LiveOps /
avatar image
Question by mobilEKG · Dec 08, 2020 at 05:45 AM · Push Notifications

How to change iOS Push Notifications PEM file

I have two iOS Certificates for push notification: one is for production, the other is for development. I create two .pem accordingly, and upload production .pem successfully in Game Manager.

But all the push notifications are failed. In Game Manager, the error message is

"iOS Push Notification Failed: Client has been unregistered for push notifications."

I find Xcode still use development certificate, so I want to upload the other development .pem file in the title settings. It fails:

"Invalid parameter: Name Reason: An application with the same name but different properties already exists"

So how to change iOS Push Notifications PEM file in the title settings, or is there anything I did wrong?

screen-shot-2020-12-07-at-85659-pm.jpg (187.9 kB)
screen-shot-2020-12-07-at-85840-pm.png (237.1 kB)
Comment

People who like this

0 Show 1
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 mobilEKG · Dec 08, 2020 at 05:48 AM 0
Share

BTW, I tried "Remove", it doesn't work it out.


screen-shot-2020-12-07-at-90219-pm.jpg (137.3 kB)

5 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Citrus Yan · Dec 08, 2020 at 09:27 AM

May I know your title id? And, the error “Invalid parameter: Name Reason:…” generally indicates the name of your title (the name in the Game Manager) is the same as that of another title already in AWS SNS. In your case, I guess it result from the Push Notifications configuration you set previously. May I know are there any errors displayed when you click “Remove”, if so, may I know the details?

As a workaround for now, you can try using the Admin SetupPushNotification API to manually set up Push and use a different application name you specify, the request looks like the one post in this answer:https://community.playfab.com/answers/39918/view.html

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 mobilEKG · Dec 08, 2020 at 09:45 AM

Title ID: 78C39

There is no error when I click "Remove".

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 mobilEKG · Dec 08, 2020 at 08:19 PM

Change title name (no space), I can upload another .pem file now.

Comment
Citrus Yan

People who like this

1 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 mobilEKG · Dec 10, 2020 at 04:28 AM

BTW, when the game (iOS) is active I can't see the push notifications banner; when game is closed I can receive the push notifications banner, and there is no badges on the game icon, even I enabled all of them. Is this by design or do I miss anything? @Citrus Yan

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 Citrus Yan · Dec 10, 2020 at 07:30 AM 0
Share

May I know how did you send the Push Notification request, could you please share a sample request body?

avatar image

Answer by mobilEKG · Dec 10, 2020 at 08:01 AM

@Citrus Yan

I didn't write any code to send nitification. In Game Manager, Players, Overview panel, there is a "Send push notification" button.

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

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Can't change Push Notification settings at Game Manager 3 Answers

    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