i am making flutter application handle with videos , audios , images , all from server and there big part handling with cache application folder . save , cashed .. etc ..
i am wondering if i must inform the user to give me permission for that or not ? (only cashed folder )
anyone has know more about this please give me suggestion
late Directory getMainPathh;
Future getTheCasheDirectoryPath()async{
getMainPathh = await getTemporaryDirectory();
}
CodePudding user response:
No, you don't need to ask the user for permission. This directory can always be cleaned by the user or the system themselves if needed.