ABKContentCardsController's timestamp is not cleared when AppBoy user changes. As the result, contentCards are cleared, but as timestamp is not cleared, it only get's newer content from the date. Assuming that its API only returns diffs from the date.
Describe your environment.
Info
Value
Platform Name
iOS
Platform Version
any
SDK Version
3.21.1
Integration Method
CocoaPods
Xcode Version
Xcode 10.2.1
Repro rate
100%
What did you do?
Refresh content cards as a guest user.
Login with existing account which has content cards.
Refresh content cards.
What did you expect to happen?
It should also clear the timestamp and get the entire content cards for new user.
Report
ABKContentCardsController
's timestamp is not cleared when AppBoy user changes. As the result, contentCards are cleared, but as timestamp is not cleared, it only get's newer content from the date. Assuming that its API only returns diffs from the date.Describe your environment.
What did you do?
What did you expect to happen?
It should also clear the timestamp and get the entire content cards for new user.
What happened instead?
Only new content cards from the date are there.
Steps to reproduce
Put in "What did you do?"
Code Snippet
N/A
Project that demonstrates the issue
N/A