Adding socket.io to android detected as malware


To reproduce the issue create a new project in android studio and add implementation("io.socket:socket.io-client:2.1.0") Upload apk to Google drive and install from that link.

The below error will appear. Its same with versions 2.0.0 and 2.1.2

{ "error": { "code": 403, "message": "This file has been identified as malware or spam and cannot be downloaded", "errors": [ { "message": "This file has been identified as malware or spam and cannot be downloaded", "domain": "global", "reason": "abuse" } ] } }

Also tried excluding okhttp and JSON from socket.io

    implementation("io.socket:socket.io-client:2.1.0"){
      exclude(group = "org.json", module = "json")
      exclude(group = "com.squareup.okhttp3", module = "okhttp")
    }

Issue report link in socket.io-client-java Github

0
Jul 16 at 6:16 AM
User AvatarAtul Vasudev A
#android#socket.io#socket.io-java-client

No answer found for this question yet.