Follow Request Page (2.2)

In this page, user can see all the follow request he has received. He can either accept or decline the request as well.

The user sorting will be based on what the server provides.

The follow request will not automatically update. User needs to accept or decline first and if the follow request is not available, system will remove the request from list and prompt that the request is unavailable.



Accept Follow request

If user accepts the follow request , system will create a relationship with the request sender and the request item will be removed from the list.

Decline Follow request

If user declines the follow request, system will invalidate the follow request

You can use the component with this code:

let requestsViewController = AmityFollowRequestsViewController.make(withUserId: "userId")
navigationController?.pushViewController(requestsViewController, animated: true)

Last updated