Vodworks has tried to fetch comments that are posted below a post by using the postId that returns the latest comment on the post (See screenshot below for description). However, it returns no comment from the SDK. Also, the comment button apparently stopped working after posting a few comments.
1. Comment fetching postComments is a collection that needs to observe once. The return value must be assigned to postCommentsToken for holding its reference.
Example:
class YourViewController: UIViewController {
var repository: EkoCommentRepository?
var postComments: EkoCollection?
var postCommentsToken: EkoNotificationToken?
2. Current user fetching EkoClient must be initialized with the correct API key. Then call registerDevice(: _) with user id and display name.
Can you recheck if self.client is not nil? If your problem isn’t solved, please provide us with more context.
3. Comment button doesn’t respond
There are 2 areas that are responsible for navigating to post detail (the page showing post, comment, and compose bar).
comment button (on the right of post like button)
comment cell (under the post like button)
We have tried reproducing the issue but it works fine on our side. Can you explain more on which button you tapped on?