Overview

This custom action ensures users always see the latest version of your FlutterFlow web app by comparing a hard‑coded current version with a remote value stored in Firebase Remote Config. If versions mismatch, it signals the UI to prompt a forced refresh, overcoming browser caching and local storage persistence. This acts more as a workaround since FlutterFlow doesn't allow direct control over browser caching strategies while still hosting the code within its platform. This therefore avoids exporting exporting code and manually modifying caching behaviour.


Dependencies


How It Works

  1. Version Comparison
  2. Cache Bypass
  3. Loop Protection
  4. User Prompt

Note: More often than not the refresh method might not work in the users browsers or for all users due to browser caching or settings.

Setup Instructions

  1. Add Custom Action and configure with Firebase
  2. When Publishing Changes
  3. Invoke on Load

Custom Action Logic