Leanplum / Leanplum-Segment-iOS

Segment integration for the Leanplum SDK on iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with Leanplum's variables after identifying.

paulsbin opened this issue · comments

Hello,

I think you have a problem with method: - (void)identify:(SEGIdentifyPayload *)payload.
After setting userId, you should call [Leanplum forceContentUpdate]. It's necessary to get actual variables for specific userId. Also I can't manually call [Leanplum forceContentUpdate] after identifying, because your implementation is asynchronous.

Please, pay attention about this problem in other mobile platforms.

Best regards.

The setUserId method does not have a callback and is not send immediately. You can call [Leanplum forceContentUpdate] after identify request.