-
Notifications
You must be signed in to change notification settings - Fork 17
Post sharing
Emee Miano edited this page Jan 18, 2022
·
1 revision
Post sharing functionality is currently not available from the system. However, UIKit provides a ready made "share" button with an interface for users to specify their own post sharing behaviors.
These settings allow you to control the "share" button visibility. The button appearance is based on the post origin and the destination that it can be shared to.
- My feed - The post can be shared to my feed. This option will enable "Share to my timeline" menu when user taps share button.
- Public community - The post can be shared to any public community. This option will enable "Share to group" menu when user taps share button.
- Private community - The post can be shared to any private community. This option will enable "Share to group" menu when user taps share button.
- External - The post can be shared externally. This option will enable "More options" menu when user taps share button.
- Origin - The post can be shared within the community feed that it was created. If the post was created in either public or private community, this option will enable "Share to group" menu when user taps share button.
- My feed post - Posts that were created on my feed. By default, possible sharing targets are My feed, Public community, and Private community.
- User feed post - Posts that were created on any other users' feed. By default, possible sharing targets are My feed, Public community, and Private community.
- Public community feed post - Posts that were created on any public community. By default, possible sharing targets are My feed, Public community, and Private community.
- Private community feed post - Posts that were created on any private community. By default, possible sharing target is Origin.
Based on Post sharing settings, there are up to three post sharing events that can be emitted by UIKit.
- Share to my timeline - an event emitted when a user clicks on "Share to my timeline" button.
- Share to group - an event emitted when a user clicks on "Share to group" button.
- Share externally - an event emitted when a user clicks "More options" button.
Guidelines
- Customizing Amity UIKit Open Source
- Contributing to Amity UIKit Open Source
- Submitting fixes and feature requests
Getting Started
UIKit Components