fivefinger2015 avatar image
fivefinger2015 asked

How can i disable push notifications?


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)

Push Notifications
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

brendan avatar image
brendan answered

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?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

fivefinger2015 avatar image fivefinger2015 commented ·

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.

0 Likes 0 ·
brendan avatar image brendan fivefinger2015 commented ·

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

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.