You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (nearDiscovery.isDiscovering) {
nearDiscovery.stopDiscovery()
}
if (nearDiscovery.isDiscoverable) {
nearDiscovery.makeNonDiscoverable()
}
if (nearConnect.isReceiving) {
nearConnect.stopReceiving(false)
}
but still it crashes with this error:
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter intent at com.adroitandroid.near.connect.server.TcpServerService.onStartCommand(TcpServerService.kt)
The text was updated successfully, but these errors were encountered:
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.
OnPause of my activity I do:
but still it crashes with this error:
The text was updated successfully, but these errors were encountered: