- Home /
Why is my apk detected as a malicious file ?
I'm currently working on a small android game, everything was good and working fine until I added google play games services. I have implemented the google play authentication and the leader-board functions in my game, these services are working completely fine and the game also works fine. But the apk is detected as a Malicious or harmful file in avast security and after installing it is detected as a malicious software.
It does not detect as a malicious or harmful file or software when the google play services authentication code is not functional.
I have published the game on the play store as an open beta as of right now but the problem still exists. I have tried to search for the problem but was not able to find anything similar to this. I'm using Unity 2019.2.9f1, if it matters.
If anyone knows what might be causing this please let me know.
Thank you.
Here's my code for authenticating (this works fine and authenticates the user) :
public void AuthenticateUser()
{
PlayGamesClientConfiguration config = new
PlayGamesClientConfiguration.Builder().Build();
PlayGamesPlatform.InitializeInstance(config);
PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) =>
{
if (success == true)
{
Debug.Log("logged into Google Play");
ResponseText.text= Social.localUser.userName ;
}
else
{
Debug.Log("Login to Google Play Failed");
ResponseText.text= "Login Failed";
}
}
);
}
Your answer
Follow this Question
Related Questions
How do I build apk that works on galaxy s8 aspect ratio (18.5/9)? 1 Answer
Apk android export error [Solved] 3 Answers
Run signed apk 2 Answers
How do I install Google Play Services to my unity3d app 1 Answer
Apk doesn't work 0 Answers