-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Has your issue been reported?
- I have searched the existing issues and confirm it has not been reported.
- 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
After several attempts, I discovered that the app operates as expected when I switch to the "RUN MODE". However, it still refuses to work in "Test Mode".
It's really difficult to progress without Instant Loading in Test mode. I am currently completely unable to use it.
I've tried on different computers and encountered the same issue across all of them.
I'm currently using FlutterFlow 4.0 and Flutter 3.13.7. Notably, there's no error indicated by these versions.
In "Test Mode", the loading bar keeps spinning indefinitely.
I shared the app to other flutterflow users who cloned the app and it still didn't work in test mode.
I tested it on other browsers and it didn't work either.
I've captured the following error from the browser's debug console:
As suggested, I downloaded the code and checked my computer to see if there were any errors in the dependencies.
I ran the command: flutter pub get --no-example
Apparently no errors.
Here's the code of the function that's displayed on the screen when this issue occurs:
// Automatic FlutterFlow imports
import '/backend/schema/structs/index.dart';
import '/backend/supabase/supabase.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/actions/index.dart'; // Imports other custom actions
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom action code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
import 'package:supabase_flutter/supabase_flutter.dart';
/**
renomear o nome de um arquivo no supabase storage
*/
Future<bool> trocaNomeArquivoSupabase(
String nome, String novoNome, String bucketName) async {
print("Action: trocaNomeArquivoSupabase 6");
bool ret = false;
try {
final supabase = Supabase.instance.client;
final storage = supabase.storage;
print("Nome: " + nome + " para: " + novoNome);
//final Future<String> result = storage.from(bucketName).move(nome, novoNome);
final String result = await storage.from(bucketName).move(nome, novoNome);
print("result: " + result.toString());
ret = true;
} catch (e) {
print('Erro ao renomear arquivo: $e');
}
return ret;
}
I deleted custom code "trocaNomeArquivoSupabase" and it still not work. Now, a new error appears.
dart_sdk.js:52 Uncaught TypeError: Cannot read properties of undefined (reading 'Symbol(_privateNames)')
at dart.privateName (dart_sdk.js:52:24)
at load__packages__promotorias__flutter_flow__nav__serialization_util_dart (lista_buckets_supabase.dart:36:1)
at Object.execCb (require.js:1696:33)
at Module.check (require.js:883:51)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.<anonymous> (require.js:1139:34)
at require.js:134:23
at require.js:1189:21
at each (require.js:59:31)
at Module.emit (require.js:1188:17)
at Module.check (require.js:938:30)
at Module.enable (require.js:1176:22)
at Module.init (require.js:788:26)
at callGetModule (require.js:1203:63)
at Object.completeLoad (require.js:1590:21)
at HTMLScriptElement.onScriptLoad (require.js:1717:29)
Any insights or suggestions to troubleshoot and resolve this problem would be highly appreciated.
Thanks in advance!
Daniel
Expected Behavior
It should run. Like in "RUN MODE" or after publishing.
Steps to Reproduce
-
Open the app (https://app.flutterflow.io/project/promo-share-88lh3r )
-
The "Test Mode" never finish and app never run.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT4siMjfsItOj7xK1br+YPlR/GQ6NnIgROY0scp/bxIgGIDzPOw+ZPXsQxNCOP2jSghUPkSmmng1wtLMuOOeUsEBCzCtR7o7ys1MbAHdRnKle5OBCJOCVWtQEflUfUiv58K4nh1/IbNvV3A12WCQGefKYBLbQZv4ImdISq/LZO4=
Context
I recently upgraded my plan to be able to use the "test mode" for longer. I never managed to take advantage of this greater time.
It is a big problem for me – I can't test and iterate quickly.
Visual documentation
Dashboard---FlutterFlow1.webm
flutter2.mp4
Additional Info
No response
Environment
- FlutterFlow version: 4.0
- Flutter 3.13.7
- Platform: Web
- Browser name and version: Chrome 117.0.5938.134
- Operating system and version affected: Windows 10