how to integrate downloading feature in flutter application

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

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

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

    Today I learn lot of important concepts
    Thank you for sharing your knowledge 😊😊

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

      It's my pleasure

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

      Please subscribe the channel. You have not yet :(

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

      @@EasyApproach I already subscribed bro

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

      Thanks it's the issue of youtube may be!

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

    Great one!!! Just learned some new features with deep explanation...

  • @Ghar_ka_khana1831
    @Ghar_ka_khana1831 3 ปีที่แล้ว +1

    What if & how can it be possible, if we want user to play the downloaded video inside the app only. Just like in Udemy. Means user can watch video in offline mode but only while using the particular app only. Please answer this question, I'd really appreciate that.

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

    Thank you, the video is very concise and easy to follow

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

      Thank you. Please subscribe the channel.

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

    what can i do if i want to build my own packge like this, when i use Dio or Http it is not good because it download the file in one time i can not pause or like that ?

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

    awesome tutorial with complete explanation.

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

    Good explanation with clean code.. thank you

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

    That's a good video. But I think you need to convert the downloaded value from the thread isolate to percentage like value progress/100 and pass it to progress bar's value.

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

      Thank you. Please subscribe the channel.

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

      Yes, that works, thanks!
      value: progress.toDouble()/100,

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

    5:05 Add permissions
    5:08 Packages
    7:20 Initialize
    11:33 Permission

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

    Keep up the good work! Nice and detailed.

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

      Thanks. Please subscribe the channel.

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

      Thanks. Please subscribe the channel

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

    Hello, need to download an excel file that is created in the app itself, can that be done using FlutterDownloader plugin, if yes what should be the URL!?

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

    Getting this error Failed to find configured root that contains .
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference

  • @هاشمجودهعلاوي
    @هاشمجودهعلاوي 3 ปีที่แล้ว

    good
    I have a question
    In the event that I want to download the video only on the application and not inside the device, how is the method?

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

    Not Working! It says "Backoff delay duration less than minimum value". Please can you tell me how to fix it?

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

      I got the same error.....do share if you have got the solution man.

    • @navasjaseer7508
      @navasjaseer7508 3 ปีที่แล้ว +2

      @@sujangrg2331 same issue have you got any solution

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

      have you got any solution?

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

      ​@@navasjaseer7508 i used dio package insted my friend for downloading ....
      www.evertop.pl/en/how-to-write-a-simple-downloading-app-with-flutter/

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

      @@sujangrg2331 thanks bro , but it supports null safety?

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

    Thank you for video,.. i was looking like this..

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

    Thanks. Really good tutorial and something I was desperately looking for. What if the user is downloading multiple files, how would the send & receiver ports connect ? is there a way to run a loop on all of the isolates / background download tasks ?

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

      For managing multiple downloading you gotta store and use task ids. Please subscribe the channel.

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

      Easy Approach thanks for true quick reply. Do you mean when starting a download, store the task id in local storage ?

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

      @@realdigitalninja you can do it that way as well, but you don't need to.

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

    can you help me , please
    * What went wrong:
    Execution failed for task ':app:generateDebugBuildConfig'.
    > org.xml.sax.SAXParseException; systemId: file:/home/****Documents/flutter/apppcs/apppcs/android/app/src/main/AndroidManifest.xml; lineNumber: 31; columnNumber: 35; The prefix "tools" for attribute "tools:node" associated with an element type "provider" is not bound.

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

      Trying updating the package

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

    Bro from where do u get these beautiful images for your thumbnail and by the way this video is AWESOME !!

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

      Haha Thanks. There is a designer inside me :D

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

    How to start downloading in webview app please specify. I have a web view app and the download option not working.

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

    I came across a problem and I need your help I can download any link I want but when I play the video it says video can not be played but your video plays idk why. how did you uploaded because I even tried uploading on firebase storage and using that link to download I can even download but I can not play it except for your link did you used any firebase storage settings or how did you generate that link

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

    greetings... thank you for the tutorial, what if I had a stream builder that returns files from firebase? i wraped it with a button and i need to download the selected file to the mobile. thanks again

  • @nnamdiemefo6865
    @nnamdiemefo6865 3 ปีที่แล้ว +1

    great content honestly

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

    Sir i came across with an error telling that "the property "path" cant be unconditionally accessed because the receiver can be "null"
    i did intialization then also it didnt work..Can you please help me solve this..

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

    sir extention problem downloaded file can't open

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

    I need to download the output screen content and user inputs in a file. How can I achieve that ?
    Thanks for such a great and easily understandable video.

  • @emperoralthaf6264
    @emperoralthaf6264 3 ปีที่แล้ว +1

    Awesome bro! you gotta new subscriber! . Bro one doubt , my .dart_tool and .idea folders had became red as shown (3:59)in this video. How to rectify it ? . Please let me know if you have the solution. Thanks in advance! . Keep rocking!

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

    Bro i cloned ur project from GitHub and runned in vs code
    And it is showing error in Android x incompabilities
    Can u rectify this?
    Even though I updated to android x it is shoring erro
    Please help bro 🥺

  • @deepjyotibaishya7576
    @deepjyotibaishya7576 3 ปีที่แล้ว +1

    well now how to changed last file name and if already downloaded how to changed copy 1 etc. thank you

  • @ManojManoj-ix1ko
    @ManojManoj-ix1ko 2 ปีที่แล้ว

    hi Bro i have followed same thing which you explained in the video But when i call the method of FlutterDownloader.enqueue function then it is only adding the task into the queue but not start the download process So guide me if i am missing something over there

  • @gatesbill447
    @gatesbill447 3 ปีที่แล้ว +1

    i did do like this. but not working for me with android 11. . can you help

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

    i pull your code and run but it's not working
    dowloading but not clicking and app is also crashing sometime

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

    How to get original file name and extension from url

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

    Thanks bro, keep going

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

      Thank you. Please subscribe the channel.

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

    Nice tutorial

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

      Thank you please subscribe the channel.

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

    Great, but i have an issue. That when i build on ios that cause resource temporarily unavailable. Do u know how to fix it?

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

      Give the path of download directory instead may be this would work

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

      @@EasyApproach I can't see image after download in iOS, can u help me?

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

      @@atphungtien1509 how is it? did you resolve it?

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

    nice job bro please i want help how to encrypt video file when video is download and decrypted when it's being play i want your help🙏🙏🙏

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

    File is getting downloaded, but it is not opening from notification!

  • @silviacabrera1721
    @silviacabrera1721 3 ปีที่แล้ว +1

    Awesome, thank you!

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

      Thank you. Please subscribe the channel.

  • @danyegon5530
    @danyegon5530 3 ปีที่แล้ว +2

    Can I download a pdf with this?

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

    can we download youtube video using this ?

  • @vannanak6610
    @vannanak6610 3 ปีที่แล้ว +1

    Great bro, thanks

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

      Thank you. Please subscribe the channel.

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

    When i click download, and go to another app, the download become canceled

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

    How to prevent the same download twice in your video?

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

    It's osm

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

      I loved it

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

    Great video brother but how can we save video in some other directory. I tried creating my own directory and then save file in it but it is not working.

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

    can we use this method for flutter web ?

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

    hi bro how i can download an audio and play in the app in flutter

  • @HuuTran-rk9hk
    @HuuTran-rk9hk 4 ปีที่แล้ว +2

    Nice bro

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

      Thank you. Please subscribe the channel.

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

    will this work for csv files ?

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

    Thank you so much.
    Is this work on ios also?

  • @-RimuruTempest
    @-RimuruTempest 4 ปีที่แล้ว +6

    Your voice accent is like one of scammer voice I hear in Jim channel.👍

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

    ro, how can we save the downloaded image?

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

    bro this code not work Android 10 or above version.

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

    Sir ap kose recoder use karta hu name send me

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

    Hello , i love your video's I'm facing a issues regarding Google SignIn in a project can you please help me its say's- platform error ( signin failed with error code 10 null! )
    I have go through all the new stackoverflow solutions for this and insure 1: Google signIn is enabled , 2: Support Email is provided , 3: SH key is provided ( even i have regenerate it twice also create a new project twice ). 4: flutter Google signIn says to enable "Google people API to access Google account data" and also enable - auth consent screen
    Even after following all of these solutions , I'm unable to resolve it :( so i jumped into here)

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

    how can i download muilt file in sametime

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

    Thank you so much man

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

      Thank you. Please subscribe the channel.

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

      @@EasyApproach it doesnt work on release , i cant open the downloaded file , please help me

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

    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':app:generateDebugBuildConfig'.
    > org.xml.sax.SAXParseException; systemId: file:/C:/Users/ELCOT/download_and_share/android/app/src/main/AndroidManifest.xml; lineNumber: 29; columnNumber: 35; The prefix "tools" for attribute "tools:node" associated with an element type "provider" is not bound.

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

    for ios??

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

    great vedio but whem i try to code these app , i faced the copiler error :not found :dart:html
    please give any suggestions

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

      Kindly remove dart:html import from your code. See at the top of your code.

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

    Videos quality???

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

      Refresh the video, the video was just uploaded at the time you watched

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

      Okay, nice topic

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

    please make 1 video in dragging video like youtube in flutter please

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

    Sir, please make a keyboard in Flutter for Android mobiles

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

    Bro i have a situation. i was making a wallpaper app using firebase storage. There are many videos on how to set wallpaper but i did not get any video on download the wallpaper to local storage. can you help on this please? 🙏🏻🙏🏻🙏🏻 btw awesome video..

    • @TheTop-cv1lg
      @TheTop-cv1lg 4 ปีที่แล้ว

      Use this package and fetch local location using getexternnathstoragepath.

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

    i am having the belowed error

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

    how to integrate al_downloader in flutter

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

    Amazing!! it's not available for iOS though. :(

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

      I got it working on iOS. See my comment.
      EDIT: for some reason I couldn't get it working reliably though so I switched to Dio.

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

      @Nick how did u get it to work

    • @nick8292
      @nick8292 2 ปีที่แล้ว +1

      @@rimaabbes6023
      EDIT: I switched to Dio in the end for iOS. Flutter_downloader seem to work fine on Android though.
      Hi, I did the following:
      _directory = await getApplicationSupportDirectory(); (didn't work with getApplicationDocumentsDirectory()); that's on iOS 15.6
      EDIT: with my little iPhone 5s it would only work with _directory = await getApplicationDocumentsDirectory(); that's running on iOS 12.5.5
      info.plist:
      LSSupportsOpeningDocumentsInPlace
      UIFileSharingEnabled
      NSAppTransportSecurity
      NSAllowsArbitraryLoads
      NSExceptionAllowsInsecureHTTPLoads
      I found the answers on StackOverflow.

  • @RajanGupta-fj8fi
    @RajanGupta-fj8fi 3 ปีที่แล้ว

    Asynchronous suspension

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

    jahli

  • @RajanGupta-fj8fi
    @RajanGupta-fj8fi 3 ปีที่แล้ว

    Error 27418

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

    nice video bad accent

  • @ambilibmenon5764
    @ambilibmenon5764 3 ปีที่แล้ว +1

    Your code works fine when I tried on main.dart. But I am looking for implementing in another class. Error occurs. "could not find callback" is returned and quits the app. Any idea why?
    @override
    void initState() {
    initializeDownload();
    super.initState();
    }
    void initializeDownload() async {
    WidgetsFlutterBinding.ensureInitialized();
    await FlutterDownloaded.initialize(
    debug: false
    )
    }

    • @SwetaKumari-pj8fo
      @SwetaKumari-pj8fo 3 ปีที่แล้ว

      Did u fix this issue?? Please reply, I am also facing the same issue