Open kimdew0912 opened 2 years ago
I resolved this issue.
The reason of the NPE is that java.util.logging.Logger
was discarded in R8.
So I resolved this issue by removing the discard logic in our proguard rule file.
But you need to check every logic related to Logger because some logics are missing the if (Logger.isLoggable(Level.FINE))
.
(If you admin, please close this issue.)
Hi! Our product is using your socket io library and we are really satisfied with the library.
But, I faced a crash in EventThread below when using R8.
I'm using the engine and client version 1.0.0 and I faced this crash after my app applied R8. It seems that the crash occurred after connecting socket or when handling some Runnable in EventThread.
So, I'm trying to solve it in several ways, but I couldn't fix the issue. Even though I added some rules like this
-keep class io.socket.** { *; }
to my proguard file, still faced the same issue.I know this issue can be caused by our build environment possibly, but I haven't been resolving it as mentioned. Could you help me about the crash by any chance?