Flutter SDK v0.21.0 Deprecation Note

Deprecated APIs

AmityUserRelationshipRepository

Methods
Remarks

follow()

Use AmityCoreClient.newUserRepository().relationship().follow() instead

unfollow()

Use AmityCoreClient.newUserRepository().relationship().unfollow() instead

getFollowings()

Use AmityCoreClient.newUserRepository().relationship().getFollowings() instead

getFollowers()

Use AmityCoreClient.newUserRepository().relationship().getFollowers() instead

getFollowInfo()

Use AmityCoreClient.newUserRepository().relationship().getFollowInfo() instead

AmityMyUserRelationshipRepository

Methods
Remarks

accept()

Use AmityCoreClient.newUserRepository().relationship().acceptMyFollower() instead

decline()

Use AmityCoreClient.newUserRepository().relationship().declineMyFollower() instead

removeFollower()

Use AmityCoreClient.newUserRepository().relationship().removeMyFollower() instead

unfollow()

Use AmityCoreClient.newUserRepository().relationship().unfollow() instead

getFollowings()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowings() instead

getFollowers()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowers() instead

getFollowInfo()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowInfo() instead

AmityUserRelationshipsRepository

Methods
Remarks

me()

Use AmityCoreClient.newUserRepository().relationship() instead

user()

Use AmityCoreClient.newUserRepository().relationship() instead

Last updated

#3026: New Content: Technical FAQ

Change request updated