-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Can we access your project?
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
Dear FlutterFlow Support Team,
I am writing to report a critical issue preventing me from adding custom Pub dependencies to my project (BrokerBoard App). I consistently receive the error "Failed to add to the library. Missing or insufficient permissions." despite extensive troubleshooting.
Project Details:
FlutterFlow Project Name: BrokerBoard App
Firebase Project ID: broker-board-12345 (confirmed in FlutterFlow settings)
Problem Description: I am trying to add the supabase_flutter Pub dependency (version ^2.5.0) via the "App Settings -> Project Dependencies" interface. Each attempt results in the error message: "Failed to add to the library. Missing or insufficient permissions."
Steps Taken (Extensive Troubleshooting Performed):
Firebase Plan Confirmed: My Firebase project (broker-board-12345) is on the Blaze (Pay As You Go) plan. (Screenshot available if needed).
FlutterFlow Service Account Permissions:
I have verified and explicitly granted the following roles to the FlutterFlow Service Account in Google Cloud IAM & Admin:
Cloud Build Editor
Cloud Functions Developer
Cloud Run Admin
Firebase Admin
Storage Admin
Editor (attempted as a broader role, but issue persists)
Google Cloud APIs Enabled:
I have confirmed that the Cloud Resource Manager API is explicitly enabled in the Google Cloud Console for my project.
Other relevant APIs like Cloud Run Admin API and Cloud Functions API are also enabled and showing active traffic.
FlutterFlow Connection Reset:
I have revoked and re-granted FlutterFlow's access to my Firebase project.
I have logged out and logged back into FlutterFlow.
I have performed hard refreshes in my browser.
I have used the "Regenerate Config Files" button multiple times.
pubspec.yaml Access:
I am unable to locate the pubspec.yaml file anywhere in the FlutterFlow Custom Code or App Settings UI to manually inject the dependency (e.g., under Custom Code Files, Configuration, or Flutter sections). It is not visible.
Code Download Issue: My current FlutterFlow plan does not allow for code download, preventing me from manually editing the pubspec.yaml outside the builder.
Impact: This issue is a critical blocker as I cannot build or test my application in FlutterFlow due to compilation errors ("Undefined name 'Supabase'") caused by the inability to add essential dependencies.
Request: Could you please investigate why my project's dependency manager is failing with a permissions error despite all necessary permissions being granted in Google Cloud, and why the pubspec.yaml file is inaccessible in the FlutterFlow UI?
Thank you for your assistance.
Best regards,
Pramod,
Contact here - [email protected]
Expected Behavior
The dependency should be added to the project without a permissions error, as all required Google Cloud (GCP) roles and APIs have been enabled.
Steps to Reproduce
- Navigate to Settings (gear icon) -> Project Dependencies.
- Click + Add Dependency.
- Enter Package Name: supabase_flutter.
- Click Add Package. 5. Observe the failure notification.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
No widget bug
Visual documentation
Environment
- FlutterFlow version: Latest version
- Browser name and version: Chrome
- Operating system and version affected: Windows 11Additional Information
- GCP Permissions Confirmed: I have verified the following roles are correctly assigned to the FlutterFlow Service Account in IAM & Admin: Cloud Build Editor, Cloud Functions Developer, Cloud Run Admin, Firebase Admin, and Editor. 2. Required APIs Enabled: The Cloud Resource Manager API is enabled. 3. Workaround Blocked: I cannot find the pubspec.yaml file anywhere in the Custom Code or App Settings UI to manually inject the dependency, and my current plan does not allow for code download. 4. Project Status: Project is connected to a Firebase Blaze plan.