Closed anpez closed 3 years ago
Hi, @ANPez the intent parameter of the onStartCommand in TcpServerService class is null but set as no nullable. You can make it non nullable because the documentation say
This may be null if the service is being restarted after its process has gone away, and it had previously returned anything except START_STICKY_COMPATIBILITY.
That's right, the TcpServerService is crashing when the system restarts the service. I think we should make it nullable to handle that case
OnPause of my activity I do:
but still it crashes with this error: