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 fivefinger2015 · Oct 09, 2016 at 06:36 PM · Push Notifications

How can i disable push notifications?

Hello.

I'm new user in playfab.

I'm using unity 5.3 and development android games.

I was activated android push notifications in game manager.

I didn't install push notification packages in unity.

And then error occurs when logged in playfab.

It seems to be caused by active push notifications.

I don't need push notification now.

How can i turn off push notfication in game manager?

error message in client =>

SerializationException: Invalid JSON string PlayFab.Json.PlayFabSimpleJson.DeserializeObject (System.String json) (at Assets/PlayFabSdk/Shared/Internal/SimpleJson.cs:568) PlayFab.Json.PlayFabSimpleJson.DeserializeObject (System.String json, System.Type type, IJsonSerializerStrategy jsonSerializerStrategy) (at Assets/PlayFabSdk/Shared/Internal/SimpleJson.cs:600) PlayFab.Json.PlayFabSimpleJson.DeserializeObject[HttpResponseObject] (System.String json, IJsonSerializerStrategy jsonSerializerStrategy) (at Assets/PlayFabSdk/Shared/Internal/SimpleJson.cs:613) PlayFab.Json.SimpleJsonInstance.DeserializeObject[HttpResponseObject] (System.String json, System.Object jsonSerializerStrategy) (at Assets/PlayFabSdk/Shared/Internal/ISerializer.cs:66) PlayFab.Json.JsonWrapper.DeserializeObject[HttpResponseObject] (System.String json, System.Object jsonSerializerStrategy) (at Assets/PlayFabSdk/Shared/Internal/ISerializer.cs:38) PlayFab.Internal.PlayFabWww+<MakeApiCall>c__AnonStorey4C.<>m__E (System.String response) (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabWWW.cs:75) UnityEngine.Debug:LogException(Exception) PlayFab.Internal.<MakeApiCall>c__AnonStorey4C:<>m__E(String) (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabWWW.cs:151) PlayFab.Internal.<Post>c__Iterator4:MoveNext() (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabWWW.cs:206)

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 · Oct 09, 2016 at 07:06 PM

Setting up Push in the title shouldn't cause any issues for a signed in client - especially since it sounds like you're saying that client didn't then register for Push Notifications (and so isn't receiving any). Can you provide more details on this error? What API call are you making specifically? Can you share the code snippet showing the call in question?

Comment

People who like this

0 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 fivefinger2015 · Oct 12, 2016 at 06:17 AM 0
Share

Ok, That's right it dosen't matter with push notifications.

Find out the cause of the error.

That error seems to be caused by when i clicked playfab editor extension tab in unity. JUST CLICKED.

And then error occurs when logged in playfab. JUST TRIED LOG IN. (use PlayFabClientAPI.LoginWithGoogleAccount)

The game manager is recorded to be signed. But client can't log in.

The solution is re-run unity. Nothing touch, just re-run.

I have lastest version sdk (2.10.161003) and EDEX (0.0.993).

unity 5.3.4f1

Thank you.

avatar image Brendan ♦♦ fivefinger2015 · Oct 12, 2016 at 07:42 AM 0
Share

Interesting - thanks. We'll have the tools team check into this.

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

    URL-linking in Push Notifications 1 Answer

    Send Rewards when Users open Push Notifications 1 Answer

    Player versus the World game including bulk push notifications 1 Answer

    Changing icon for Push Notification templates. 2 Answers

    Re-registering push notifications 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