xcode - LayerKit iOS: Cannot request authentication nonce because client is already authenticated -
i working on app , trying integrate layerkit
it. after every 10 minutes, layer has authenticated again every nonce valid 10 minutes.
when trying authenticate it, error:
cannot request authentication nonce because client authenticated 123456
(123456 userid).
but when send message, status stuck "pending". can't send or receive message. have close app , open again resume communication.
i using swift 2.2 , not using parse. using api acquire identity token layer. can't reauthenticate layer. everytime showing same error.
i have reset network settings iphone, still no luck. appreciated.
i had same issue.
you need deauthenticate before request authentication nonce:
- (void)deauthenticatewithcompletion:(nullable void (^)(bool success, nserror * _nullable error))completion;
Comments
Post a Comment