CommunityDisplayname
userDisplayname
created new post in your community.CommunityDisplayname
userDisplayname
reacted to your postCommunityDisplayname
userDisplayname
commented to your postCommunityDisplayname
userDisplayname
react to your commentCommunityDisplayname
userDisplayname
replied to your commentregisterDeviceForPushNotification(:_)
AmityClient
instance (necessary to know which user is associated with this device) and a push notification token.If the device was previously registered with this or another user, the previous registration is invalidated as soon as this new request is received, which means that the device will always receive notifications of up to one user.
AmityUserNotificationsManager
, obtained from the current AmityClient
:AmityCommunityNotificationsManager
, obtained via an instance of AmityCommunityRepository
:AmityClient
instance to be associated with any user, therefore you can unregister the device from receiving push notifications as soon as the AmityClient
has been initial.