Confirmation that PlayFab Push for Android is Asynchronous?

Hello,

We've been testing the latest Android Push plugin in our Beta channel (Google Play) and have noticed a few users have been seeing a hang when launching the game. We have a couple of reports that look like this (ANR), the crash reporter highlights the suspicious calls seen here: http://imgur.com/a/VAOil

1 Reply

It is not an async call at the java level. That is interesting that calling to getToken() is blocking the main thread in Unity because it is a static void. It calls that code in Java and does not have a return value. We use UnityPlayer.UnitySendMessage to return the result. This should never block the main thread.

My guess is yes, you are having an error getting your token ( needs to be looked at further ), but you probably have something else that is actually blocking your main thread.