Flutter SDK v0.21.0 Deprecation Note

Deprecated APIs

AmityUserRelationshipRepository

MethodsRemarks

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

MethodsRemarks

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

MethodsRemarks

me()

Use AmityCoreClient.newUserRepository().relationship() instead

user()

Use AmityCoreClient.newUserRepository().relationship() instead

Last updated