简体   繁体   中英

How to implement audio streaming app and secure storage in flutter

I am about to build an app like deezer using flutter https://play.google.com/store/apps/details?id=deezer.android.app now for I have 2 question.

  1. Is there any library for online audio streaming which may give the possibility to download the app

  2. How can I store my audio files in a private / hidden folder such as folder created using vault app in case of download https://play.google.com/store/apps/details?id=com.netqin.ps

Thanks for your help

To stream audio you can use this library:

AudioPlayers

To keep your files safe you can use the Sandbox folder in iOS and getExternalFilesDir in Android.

You can find an example of how to implement the saving of the file over here:

Saving data to Local Storage in Flutter

I remind you that SOF is to show what you've done so far, some of your progress, examples, etc so we can help you with that and not how to build an entire app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM