Plugin details
Native sharing capabilities for your Bubble.io application, allowing users to share content (text, URL, and title) directly from their device's native share dialog. It includes a robust fallback mechanism to copy content to the clipboard if the native Web Share API is not supported or fails.
----
Hey Bubblers! 👋 Ready to supercharge your app's sharing capabilities? 🚀 EasyShare is here to make it, well, easy! This powerful plugin lets your users share content directly from their devices using the native share dialog. 📱💻
Features That Make Sharing a Breeze ✨
- Native Sharing: Say goodbye to clunky share buttons! This uses the Web Share API for a smooth, built-in experience. 🤝
- Share Anything: Easily share a Title, Text, URL, and even Files from your Bubble app. 📁
- Smart Fallback: If native sharing isn't available, don't worry! It automatically copies the URL or Text to the clipboard, so nothing gets lost. 📋
- Enhanced Compatibility: Check if a browser can handle sharing and even detect the user's device type! 🕵️
- Comprehensive Events: We've got events for everything: clicked, shared, copied_to_clipboard, files_not_shareable, and error. Integrate with your workflows like a pro! 🎯
How to Get Started 🛠️
1. Install the Plugin: Find "EasyShare" on the Bubble plugin marketplace and install it. 📦
2. Add the Element: Drag and drop the "EasyShare" visual element onto your page. 🖱️
3. Configure Properties:
- Element ID: Give the element you want to make clickable a unique ID (e.g., a button, text, or image). 🏷️
- Title, Text, URL, Files: Fill in the content you want to share. You can leave any of these empty. 😉
- Fallback Mode: Choose what happens if native sharing fails. You can Do Nothing, Copy to Clipboard, or Trigger Custom Event. ⚙️
- Share Strategy: Optimize your shared content for a specific platform like WhatsApp 🟢, Facebook 📘, Twitter/X 🐦, Email 📧, and more! 🌍
4. Handle Events (Optional): Use the provided events to create powerful workflows. 🚀
5. Check Status & Compatibility (Optional): Use the exposed states like status, is_error, browser_compatible, and device_type to build a seamless user experience. ✨
Important Notes ⚠️
- HTTPS Required: Make sure your app is running on HTTPS for this to work. 🔒
- User Gesture: Sharing must be triggered by a user's click. 👆
- Empty Properties: Don't worry about empty fields—they'll be ignored. 👌
- Testing: Always test on different devices to ensure everything looks and works perfectly. 🧪
Ready to give your users the best sharing experience? Get started with EasyShare today!