Automatically register a new endpoint on expiration
demurgos opened this issue · 1 comments
demurgos commented
If getMessages
is not called for more than 2 minutes, the current endpoint is disconnected.
Trying to perform any call with the registrationToken
leads to an error 404: {"errorCode":729,"message":"You must create an endpoint before performing this operation."}
.
We should detect this kind of error and register a new endpoint.
grigori-gru commented
Hello! Is there any way to solve this problem? I get error every second when when connected.