Forcing the update_app view on Bubble’s Native Mobile

Hi to all Bubblers :slight_smile:

I haven’t seen much on this, so I’m sharing a trick I tested to force the update_app screen. Since it only shows when the app hits the backend, and the users don’t necessarily hit it when opening the app. The work around is that I compare a local packaged version (Option set) with a dynamic version in the database.

Setup

  1. Option set (local, fixed in the build)

    • Create an option set version with an option actual version.

    • Add a field version (text).

    • Before each new build, update this value to the version you’re about to release (ex: 1.1.2).

    • This option set is compiled inside the app, so users will always keep the version value of the build they installed.

  2. Database entry (dynamic, editable after release)

    • Create a data type version_new with a field version_update (text).

    • After publishing to App Store / Play Store, edit this entry manually to the new version value (ex: 1.1.3).

    • This lives on the backend and can be changed anytime.

  3. Workflow check

    • On the homepage (or a reusable header), add a workflow:

      • Do every time → Condition: version:actual's version is not Search for version_new:first item’s version_update.

      • Action: Go to view update_app.

    • Logic:

How it works in practice

  • Example:

    • Current build 1.1.2 → Option set = 1.1.2.

    • Update the Option set = 1.1.3 (the version you are about to release)

    • After pushing 1.1.3 live on stores, update the database value to 1.1.3.

    • A user opening the app on 1.1.2 will see a mismatch (1.1.21.1.3) → workflow redirects them to the update_app screen.

    • Once they install 1.1.3, the option set in their build is also 1.1.3, so it matches the database and they can continue.

Notes

  • Versioning is manual:

    • Update the option set before building.

    • Update the database field after release on store.

  • Tested with one minor update, about 5–10 users so far. It worked, but I can’t guarantee consistency across all devices or over time.

  • This relies on a DB read (so it costs WU). Without touching the backend, the update_app screen doesn’t appear.


If you see something not logical in this Option set / Database behavior, or have ideas to improve this method, let’s talk about it :slightly_smiling_face: