Flutter Web: Firebase Storage

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 47

  • @haveabeer123
    @haveabeer123 4 ปีที่แล้ว +2

    how about downloading from FireStorage?

  • @chriscarman247
    @chriscarman247 4 ปีที่แล้ว +2

    I followed this and pretty sure my storage rules are set correctly but my images aren't uploading.. any ideas why?

    • @LearnFlutterCode
      @LearnFlutterCode  4 ปีที่แล้ว +2

      Have you added your Config credentials? If you have, I’ll probably need to see your project to further diagnose

    • @chriscarman247
      @chriscarman247 4 ปีที่แล้ว +2

      @@LearnFlutterCodeYea, I'm pretty sure I have all firebase config added to index.html, if that's what you mean.

    • @chriscarman247
      @chriscarman247 4 ปีที่แล้ว +4

      @@LearnFlutterCode My bad.... I thought I had this but I didn't...

    • @LearnFlutterCode
      @LearnFlutterCode  4 ปีที่แล้ว +3

      @@chriscarman247 yeah i did that same mistake when I was doing this!

    • @tankado_ndakota
      @tankado_ndakota 4 ปีที่แล้ว

      @@chriscarman247 thank you so much for the solution! It didnt work for me too, and I was hopeless and going to give up! but I can go on developing now!

  • @kevinohiro3435
    @kevinohiro3435 4 ปีที่แล้ว +1

    I understand you said uploading to firebase storage is buggy, but what about performing crud operations

    • @LearnFlutterCode
      @LearnFlutterCode  4 ปีที่แล้ว

      Good question. The simple crud operations from my experience is pretty stable. You can check out this tutorial: th-cam.com/video/VCOH5QWpfpc/w-d-xo.html

    • @kevinohiro3435
      @kevinohiro3435 4 ปีที่แล้ว

      Ok tnks, but I can easily upload files e.g MP3, to another storage right?

    • @LearnFlutterCode
      @LearnFlutterCode  4 ปีที่แล้ว

      I’m not sure about that. Sorry 😅

  • @elcanpenahov435
    @elcanpenahov435 2 ปีที่แล้ว

    Error: Unsupported operation:
    Platform._operatingSystem

  • @peterkimani7669
    @peterkimani7669 4 ปีที่แล้ว

    Can I use image picker in flutter for web cloud Firestore?

  • @wesleybarnes5376
    @wesleybarnes5376 3 ปีที่แล้ว

    How about downloading a file? Thanks

  • @tankado_ndakota
    @tankado_ndakota 4 ปีที่แล้ว

    how can I get the downloadURL after uploading? because I have to save it to database (to reach again).

    • @LearnFlutterCode
      @LearnFlutterCode  4 ปีที่แล้ว

      go to firebase storage and click on the image. it will show a url that you can download from

    • @tankado_ndakota
      @tankado_ndakota 4 ปีที่แล้ว +1

      ​@@LearnFlutterCode haha thanks :D :D that's not what i mean bro. but any ways, I found the solution. in StreamBuilder of LinearProgressIndicator i am using this snippet:
      snapshot.data.ref.getDownloadURL().then((value) {
      var url = value.toString();
      }

    • @indianappguy
      @indianappguy 4 ปีที่แล้ว +1

      @@tankado_ndakota FormatException: Illegal scheme character (at character 5) i am facing this error

    • @tankado_ndakota
      @tankado_ndakota 4 ปีที่แล้ว +1

      @@indianappguy take a look at this: stackoverflow.com/a/15151968/2346741

    • @shreebhagwat1009
      @shreebhagwat1009 4 ปีที่แล้ว +1

      @@tankado_ndakota Hello can you post the full code. Iam getting an error directory not present

  • @n777-u2u
    @n777-u2u 4 ปีที่แล้ว

    Error: [object Object]
    Non-error `[object Object]` thrown by JS does not have stack trace.
    This is the error raised everytime.

  • @zaidsaeed3353
    @zaidsaeed3353 4 ปีที่แล้ว +2

    TypeError: dart.global.firebase.storage is not a function
    when i try to upload i see this error

    • @akshay6019
      @akshay6019 4 ปีที่แล้ว

      add to index.html file

    • @idoyam5039
      @idoyam5039 3 ปีที่แล้ว

      did you manage to fix it?

  • @sobhanm3529
    @sobhanm3529 4 ปีที่แล้ว

    after success upload i got this exception : T.as is not a function ...
    please help me

  • @M37Shadow
    @M37Shadow 3 ปีที่แล้ว

    u are my savior thanks a lot

  • @АлександрИванов-ю8с8г
    @АлександрИванов-ю8с8г 4 ปีที่แล้ว

    TypeError: dart.global.firebase.storage is not a function

    • @akshay6019
      @akshay6019 4 ปีที่แล้ว

      add to index.html file

    • @idoyam5039
      @idoyam5039 3 ปีที่แล้ว

      @@akshay6019 it didn't help me

  • @mehmetartun6798
    @mehmetartun6798 4 ปีที่แล้ว

    Thank you. It helped.

  • @NamHoang-hc3dx
    @NamHoang-hc3dx 4 ปีที่แล้ว

    Great ! but you dont have github ?

  • @tahirdevlog2047
    @tahirdevlog2047 4 ปีที่แล้ว

    Thanks sir

  • @gilbertoduran680
    @gilbertoduran680 4 ปีที่แล้ว +1

    What??!!! 🤤