Native Share for Bubble Mobile

Demo to preview the plugin:

Introduction

Native Share for Bubble Mobile opens the native iOS and Android share sheet from your Bubble mobile app. Share any text and links (on iOS the recipient sees a link preview card), or let users pick a photo from the gallery and share it. Events and states let you react to the result: reward users for sharing, handle cancellations and show errors.

Prerequisites

This plugin is designed specifically for the mobile version of the Bubble editor. To test the plugin on your mobile device, use the TestFlight app available at: https://testflight.apple.com/join/phtrt5zv
Image without caption

How to setup

The Share Mobile plugin does not require any special API keys or additional setup. Simply install the plugin from the Bubble Plugins marketplace and add the Share Mobile element to your page.
  1. Go to your Bubble application's Plugins tab.
  1. Click "Add Plugins".
  1. Search for "Native Share for Bubble Mobile".
    1. Image without caption
  1. Install the plugin.
  1. Add the “Share Mobile” element to your view where you want to implement sharing functionality.
    1. Image without caption
  1. Use the Share action whenever you need to share something.
    1. Image without caption

Plugin Element - Share Mobile

The plugin contains a Share Mobile visual element that should be used on a page.
Image without caption

States

Title
Description
Type
Is Available
Whether sharing is available: yes in the iOS and Android app and in the web preview in browsers that support sharing (Chrome, Safari); no otherwise.
yes / no
Can Share Files
Whether files can be shared on this device. Always no in the web preview.
yes / no
Last Result
Result of the last share: shared, dismissed or failed.
text
Last Error
Error message of the last failed share. Empty if the last share did not fail.
text

Events

Title
Description
Shared
Triggered when the share completes. On Android it fires whenever the share sheet is shown, because Android does not report whether the user actually sent anything.
Dismissed
Triggered when the user closes the share sheet without sharing (iOS and web preview; Android does not report it) or cancels picking a photo.
Share Failed
Triggered when sharing fails. The reason is in the Last Error state.

Element actions

Workflow example

Share content

Share text with a link

React to the result

Image without caption

Changelogs