Skip to content

fix(menu): add mailto fallback for web email support#68

Open
yashisrani wants to merge 1 commit into
seetadev:mainfrom
yashisrani:fix/email
Open

fix(menu): add mailto fallback for web email support#68
yashisrani wants to merge 1 commit into
seetadev:mainfrom
yashisrani:fix/email

Conversation

@yashisrani
Copy link
Copy Markdown

Fix: #67

Summary

This PR adds a web fallback for the email sharing feature in Menu.tsx.

Previously, the app relied entirely on Capacitor's EmailComposer, which only works on Android/iOS hybrid platforms. Web users only received a generic alert message.

Changes

  • Added mailto: fallback support for web browsers
  • Opens the user’s default email client on web
  • Retained existing EmailComposer functionality for mobile devices
  • Improved cross-platform user experience

Screenshots

Screenshot 2026-05-12 at 10 11 38 AM

Result

Platform Behavior
Android/iOS Opens Capacitor Email Composer
Web Browser Opens default mail client using mailto:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Web Fallback for Email Composer Functionality

1 participant