HTML + iFramer for Bubble Mobile

Demo to preview the plugin:

Introduction

HTML + Iframe Native is a plugin that enables you to embed any website into your Bubble mobile application using an iframe, allowing you to adjust its parameters without writing HTML code. Additionally, it offers the capability to insert HTML code directly into the native app through the HTML Mobile element.
This plugin is particularly useful for integrating external content, web tools, or custom HTML content into your Bubble mobile app while maintaining native app performance.

Prerequisites

No external API accounts are required for this plugin. It works out of the box with Bubble's native functionality.
Image without caption

How to setup

Setting up the HTML + Iframe Native plugin is straightforward:
  1. Install the plugin from the Bubble plugin marketplace
  1. Add either the "Iframe mobile" or "HTML Mobile" element to your page
  1. Configure the element properties as needed (URI for Iframe or HTML content for HTML Mobile)
  1. Adjust the element's size and styling to fit your design requirements
The plugin doesn't require any additional configuration or API keys to function.

Plugin Element Properties

Element(s) proprieties will describe the element(s) if available for the plugin in detail, what is used for, and what are its proprieties fields.

Iframe Mobile

HTML Mobile

Workflow example

Example 1: Embedding a Google Map

  1. Add the "Iframe mobile" element to your page
  1. Set the URI to a Google Maps URL (e.g., https://www.google.com/maps/embed?pb=!1m18!...)
  1. Adjust the element size to fit your design
  1. Enable scrolling to allow users to navigate the map
  1. Set "use external navigation in browser" to true to allow users to open directions in their native maps app

Example 2: Displaying Custom HTML Content

  1. Add the "HTML Mobile" element to your page
  1. Insert your custom HTML code into the htmlContent field
  1. Adjust the element size to properly display your content
  1. Add a workflow action that triggers when the "onLoadEnd" event fires to indicate the content is ready

Example 3: Creating a Web View with External Links

  1. Add the "Iframe mobile" element to your page
  1. Set the URI to your target website
  1. Enable JavaScript and DOM storage for full functionality
  1. Enable "use external navigation in browser" to handle external links
  1. Create a workflow that shows a loading indicator until the "onLoadEnd" event is triggered
Image without caption

Changelogs