Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
There are many components that you can use and integrate into your existing application.
This page consists of two components - My community and Global feed
Feature
Description
My Community list
User can scroll horizontally to see a list of up to eight communities that the user has joined sorted in alphabetical order.
Navigation to Community profile page
Navigation to My community page
When a user selects a community item, the user is navigated to
When a user selects the arrow, the user is navigated to
This component shows the global feed.
Feature
Description
Global feed
Scroll vertically to see a list of posts from the global feed
Create a Fragment
You can use either of these two methods:
build
- the posts will be ranked in chronological order.
Below is the sample code.
<newCustomPostRankingmethod>
- the posts will be ranked according to a score-sorting mechanism. Refer to Custom Post Ranking for more information about this feature.
You can retrieve your global feed sorted by ranking score with this code.
When a user selects a community item, the user is navigated to
When a user selects a community item , the user is navigated to
Feature
Description
Category list
User can see up to eight categories sorted in alphabetical order.
Navigation to Category detail page
When a user clicks on a category item, the user is navigated to Category detail page.
Navigation to Category list
When a user selects the arrow, the user is navigated to Category list page.
Feature
Description
My community list
User can scroll vertically to see a list of communities that the user has joined sorted in alphabetical order.
Community search
User can search for a community using the Community name
Community creation
User can click on + button, to open Community Creation page
Feature
Description
Category list
User can see a list of all categories sorted in alphabetical order.
Navigation to Category detail page
When a user selects a category item, the user is navigated to Category detail page
Feature
Description
Community list by category
User can see a list of all communities that belong to a category sorted in alphabetical order.
Navigation to Community Profile page
When a user selects a community item, the user is navigated to Community Profile page
This page provides a form for community profile update
Host your events virtually and see community interaction as it happens
Our UIKit provides the livestream recording feature that allows you to record livestreams and broadcast simultaneously in real-time. You can also play historical streams when the livestream ends.
This section describes the livestream recording feature in detail.
A livestream post can be viewed in the following feeds:
Community feed
User feed
Global feed
Content feed
You will be able to see the livestream post and interact with it as soon as the livestreamer starts streaming.
To create a livestream post, follow these steps:
Create a livestream post by selecting Livestream from the pop-up and selecting a location where you want to post the stream.
Provide a title and description for your livestream. The title and description will be blank if you will not provide any.
Add a cover thumbnail from your media gallery for the livestream post and preview the cover image. This step however is optional. You may also update and delete the cover thumbnail.
Tap Go live to start streaming.
There will be a time indicator on the upper left. It will indicate how long it has been since the livestream started.
The livestream post will then show in the feed.
Tap Finish to end livestreaming. It will then show Ending livestream once the livestream has ended.
Note: You have the option to edit or delete the post from the feed.
Other viewers can watch your livestreaming while you are simultaneously recording it. They will see a LIVE indicator on the video.
Tapping the play button in the livestream post will play the video in a full screen mode.
After ending your livestreaming, the playback video may not be available instantly for viewers to see while it is still in the process of producing the playback video. The viewers will see a message that the playback will be available for watching shortly.
When the playback video is already available for viewing, a RECORDED indicator is shown on the video post.
The livestream may be in idle state. This happens when you delete the livestream in console or or other issues that will not enable the livestreaming to start. The viewer will see a message that the stream is currently unavailable.
A livestream post will have the same privacy and access controls as with the other posts. This means that users without the permission, such as those who are not members of the community, won’t be able to view the livestreaming/playback video in a private community. If the community is public, non-members can view the post as read only so they won't be able to interact with it.
If it's your first time creating a livestream, your device will prompt to allow access to your device's camera and microphone.
You need to allow access to be able to start a livestream. The pop-up below will not show once you allow access to your camera and microphone.
This page provides a form to edit post content.
Feature
Description
Comment editing
Edit comment content and tap Save to submit changes.
Mention in comment
Mention users in comments by typing @ to activat mention suggestion and selecting their names in the suggestion list. Up to 30 users can be mentioned per post.
An alert will be shown if character count is greate than 50000 or mentions count is greater than 30.
Comment creation
Add comments to post
Mention in comment
Mention users in comments by typing @ to activat mention suggestion and selecting their names in the suggestion list. Up to 30 users can be mentioned per post.
An alert will be shown if character count is greate than 50000 or mentions count is greater than 30.
This page shows profile of a community including its own feed.
Feature
Description
Becoming a member
User can tap Join button to join a community
Post creation
Community profile update
Create a Fragment
User can tap the floating action button to open
Creator can tap Edit profile button to open
This component shows a collection of images and videos posted in the community feed
This view allows user to view and interact with the feed content normally. This also applies when the Privacy setting is Public.
This view block any user to see the target user feed content. This view only exist if the Private setting is Private.
Feature
Description
User feed
User can scroll vertically to see a list of posts from a user feed
Private feed
User can not see the feed content if user is not connected and the Privacy setting is Private
Create a Fragment
This page allows user to interact with the user profile
There are 2 main state based on the user connection:
In version 2.2, we do not have the User notification setting in the menu.
You can try these codes:
This page shows content of a post including reactions and comments.
Reply feature is coming soon.
Create a Fragment
The Link Preview feature in posts is designed to enrich user experience by providing a visual and informative preview of external links. This feature enhances content sharing, making it more interactive and engaging. This feature significantly improves the user's posting experience. It allows for a preliminary check of the link's accuracy and relevance, adding visual appeal to the post with an informative preview.
When a user includes a link in a post, the feature automatically extracts and displays key information: the title, main image, and a short description, creating an informative preview of the linked content. If the link is unavailable, it will show a empty placeholder or error view instead.
Users can edit the link preview even after the post is created. This flexibility ensures that the information remains up-to-date and accurate, enhancing the overall quality of the post.
The preview feature is designed to only display images, titles, and descriptions after a post is created. This ensures clarity and relevance in the shared content.
Feature
Description
Report / unreport
User can report or unreport user in this user setting page
Unfollow
User can unfollow other user
Feature
Description
Post content
User can view content of the post including reactions and comments.
Comment creation
User can create a comment by adding text to the compose bar and tapping Post
Feature
Description
Edit profile
Will redirect to User profile edit page when clicked
In the FOLLOWING page, you will see the list of other users that you're following. In the FOLLOWERS page, you will see a list of users who are following you.
In the current state , NO search in Following and Follower list
Feature
Description
Current user profile
If current user will access other users' Following and Follower list, he will see his own profile on top of the list
Report/undo report user
User can send report or undo report in this page via the action menu UIKIT included in this page
Remove user from follower list
If current user will access his own follower list , he can remove followers via the three dots button and action menu
Redirect user to user profile page
If user taps on the user item list, he will be redirected to user profile page of that user
This page shows user profile information as well as user feed
Feature
Description
User Profile
User can view display name and description
Post creation
User profile update
Create a Fragment
A delegate can be passed to customise the components.
Method
Description
feedFragmentDelegate
Fragment delegation for AmityFeedFragment
There are two views for the user profile page.
This view allows the user to see his own user profile detail and his own user feed. There are two states user can see.
Default state : Allows user to see his own following user counter and Follower user counter.
Request pending state : Allows user to see his own following user counter, Follower user counter, and also the follow request he received.
Feature
Description
Follower counter
Following counter
Pending follow request section
Edit user profile
3 dot button
You can get this view by using this code:
This view allows the user to see other user's profile detail and their user feed. There are two states user can see.
In the other user view , UIKIT has two main views that support the Follow user connection and the User privacy view.
Default state: Allows user to see the connection between the current user and the target user profile.
Feature
Description
Follow button
When clicked, the system will make a connection with the User.
If the Connection method = with request, system will change to cancel pending state.
Cancel request button
When clicked, follow request will be canceled
Follower counter
Following counter
Pending follow request section
Edit user profile
User feed (Private view)
If a connection was not established, the user profile and the Private setting is Private.
3 dot button
You can get this view by using this block of code
This page provides a form for post creation
To create a live stream post and for a detailed discussion on the live stream features, refer to Livestream post documentation.
Feature
Description
Post creation
User can create post by adding content such as text, images, videos and files.
Mention in post
Mention users in post by typing @ to activate mention suggestion and selecting their names in the suggestion list. Up to 30 users can be mentioned per post.
An alert will be shown if character count is greater than 50000 or mentions count is greater than 30.
Create a Fragment
User can create a post either on a community feed or user's own feed.
Attachment options
We currently support three types of attachment option when creating a post. These are:
AmityPostAttachmentItem.PHOTO
AmityPostAttachmentItem.VIDEO
AmityPostAttachmentItem.FILE
.
You can optionally choose to allow these attachment options by using the method allowPostAttchments
. By default the fragment includes all attachment options.
Create a post on community feed
Create a post on user's own feed
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 the server provide.
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.
Feature
Description
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
This page displays the list of members for a given community
User can tap the floating action button to open to create a post on user's own page
User can tap Edit profile to open to update user's own profile
Shows the total count of followers. It will redirect to when clicked.
Shows the total count of users that you're following. It will redirect to when clicked.
If you have pending follow requests from other users, you will see the pending request section. It will redirect to when clicked.
It will redirect to when clicked.
It will redirect to when clicked.
Showing the total count of followers. It will redirect to when clicked.
Shows the total count of users that you're following. It will redirect to to when clicked.
If you have pending follow requests from other users, you will see the pending request section. It will redirect to when clicked.
It will redirect to when clicked.
It will redirect to when clicked.
When a user selects My Timeline, UIKit will open with the user's own feed as the target.
When a user selects a community, UIKit will open with the selected community.