backendless_sdk: 0.4.0
Client SDK: Flutter
Application ID: “859418E3-AA83-93D2-FF8E-C0009E704C00”
Expected Behavior
Images are uploaded to File Storage
Actual Behavior
Images are never uploaded to File Storage.
Reproducible Test Case
Trying this in a new Flutter project
void _saveParkingSpot() async {
/// Sube Parqueadero y actualiza datos del usuario dueño
String urlParki;
String urlEdif;
Backendless.files.upload(fotoEd, "/fotos_parqueaderos").then((response) {
urlParki = response;
});
Backendless.files.upload(fotoParki, "/fotos_parqueaderos").then((response) {
urlEdif = response;
});
Map parki = {
"name": edificio,
"disponible": true,
"imgEdificioUrl": "$urlEdif",
"imgParqueaderoUrl": "$urlParki",
};
await parkiRef.save(parki);
}
}