Open ch4ron opened 2 years ago
Also does your project have a custom activity or have several scenes that may be changing from one to other when the sign-in pop-up is still active?
Here's the bug report https://drive.google.com/file/d/1VgHvbDR0uz8K9HJyn5hb5ruYan3R6CFQ/view?usp=sharing A scene is loading during app initialization when the pop-up is active. Could that be an issue? I've also noticed that when the pop-up reappears it's usually after a scene transition (but that's not a rule, it can also show up when seemingly nothing is happening in the background).
Thanks for the bug report, I will be looking into this this week.
Here's the bug report https://drive.google.com/file/d/1VgHvbDR0uz8K9HJyn5hb5ruYan3R6CFQ/view?usp=sharing A scene is loading during app initialization when the pop-up is active. Could that be an issue? I've also noticed that when the pop-up reappears it's usually after a scene transition
From the bug report, it looks like there is one sign-in attempt and it is successful as expected. It is possible that the scene transition causes that. I will look into how Unity converts scenes into Android components. Unity has a default UnityPlayerActivity. But we should understand whether the apk has several of this activity when there are multiple scenes. It would be useful to us, if you could share the manifest file of your apk as well.
(but that's not a rule, it can also show up when seemingly nothing is happening in the background).
Is there a scene transition though, before or after this?
Here's my manifest file https://drive.google.com/file/d/1THU-sGiu5WLFheKJKYoRLaYPuO4NbhwR/view?usp=sharing
Is there a scene transition though, before or after this?
There are multiple scene transitions in the game but I have also seen the popup appearing not directly before or after this. I can see UnityPlayerActivity in Firebase Analytics but I don't know if it's related to the issue with the Play Games popup.
I did some further investigation and the popup appears when achievements are progressed. Hope that helps with resolving the issue.
After integrating Play Games plugin and enabling authentication, I can correctly see the "Hey there" login popup appearing on screen. However, the same popup will sometimes re-appear on screen while playing the game. I am calling the authentication methods only once and it seems that something is happening in the background. In the logs, I can see the following: