feat: add native share support for space invites #199
Reference in New Issue
Block a user
Delete Branch "sakshamjain/flotilla:feat/space-invite-share"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This is a sub-issue of #118
This PR adds a native share button to the Space Invite flow using @capacitor/share, allowing users to share invite links directly via system share dialogs (e.g., WhatsApp, Messages, etc.).
Attached Images:


What’s included
Testing Status
Web: Fully tested and working as expected responsively
Note on Mobile Testing: Android / iOS are Not tested yet
While testing on Android in Android Studio, the Spaces screen renders blank, which appears to be a known regression (as mentioned in the issue discussion)
Because of this:
Native share functionality could not be verified on the Android emulator
iOS testing was not performed
I'm getting the following error in Zen browser:
Go ahead and check
canShareand hide the button if false. Looks good otherwise.Hi @hodlbod , Thanks for the input. Implemented Share.canShare() check and conditionally render the share button to avoid errors in unsupported browsers. Also added a guard inside shareInvite for safety.
Merged via
7a7af58fPull request closed