Toolbox for Bubble Mobile

Demo to preview the plugin:

Introduction

This plugin is a versatile and user-friendly tool for executing custom JavaScript, parsing XML data, and performing advanced database searches in your Bubble mobile app. It provides a seamless way to extend your app's functionality by integrating custom code execution and dynamic data manipulation, all without complex coding. Whether you're looking to implement unique features, manage data efficiently, or create powerful search capabilities, this plugin simplifies the process, enhancing the flexibility and performance of your mobile app.

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
⚠️
Please note that the testing app is currently available for iOS only.
Image without caption

How to setup

Setting up the Zeroqode Toolbox Mobile plugin is straightforward as it doesn't require external API keys or services. Simply follow these steps:
  1. Install the plugin from the Bubble plugin marketplace.
    1. Image without caption
  1. Add any of the plugin elements to your mobile app's pages.
  1. For the Search Mobile element, ensure you set the App Origin field correctly with your app's URL (e.g., "https://your-app.bubbleapps.io/").
    1. Image without caption
  1. Also, for the Search Mobile element, ensure you enabled the Data API.
    1. Open your application in the Bubble editor.
    2. Click on Settings in the left sidebar.
      1. Image without caption
    3. Select the API tab.
      1. Image without caption
    4. Check the box labeled Enable Data API.
      1. Image without caption
    5. Check the boxes next to each data type you want to make accessible via the API.
      1. Image without caption
        Later, you will select these type in the “Object type” field of “Get data” action.
        Image without caption
    6. Leave unchecked any data types that should remain private.
    7. Implement Privacy Rules (Optional but Recommended).
      1. Go to the Data tab in Bubble.
        1. Image without caption
      2. Select a data type you've exposed in the API.
        1. Image without caption
      3. Click on the Privacy tab.
        1. Image without caption
      4. Configure who can create, read, update, or delete records.
        1. Image without caption

Plugin Element Properties

Custom JS Mobile

Parse XML Mobile

Search Mobile

API Calls (Type)

Toolbox Type

This data type is used throughout the plugin to structure data from various plugin elements. A custom data structure with 17 fields that can store lists of text values.
This API Call should be used only to define the field “Result type” for elements “Parse XML Mobile” & “Search Mobile”.
Image without caption
Returns
Name
Description
Type
field1 to field17
Various fields that store data from plugin elements.
List of texts

Plugin Actions

Send data to API — This action allows you to send XML or JSON data to an external API endpoint.
Image without caption
Fields
Name
Description
Type
XML/JSON data
The XML or JSON content that will be sent to endpoint indicated on "URL endpoint".
Text
URL endpoint
The endpoint URL where to send data.
Text

Workflow example

Here are a few examples of how to use the Toolbox for Bubble Mobile plugin in your Bubble app.

Using Custom JS Mobile to perform calculations

Parsing XML data from an external API response

Searching for users within a geographic radius

Image without caption

Changelogs