You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result
Share received - {text: null, type: application/pdf, path: content://com.mi.android.globalFileexplorer.myprovider/external_files/CamScanner/New%20Doc%202019-12-04%2012.03.36.pdf}
its return Image file
FilePath: /data/user/0/com.depixed.fileupload/cache/IMG_1581322321796.png
The text was updated successfully, but these errors were encountered:
final fileToCopy = await FlutterAbsolutePath.getAbsolutePath("content://media/external/file/1233");
print('fileToCopy: $filePath');
Result fileToCopy: /data/user/0[my app package]/cache/IMG_1602767703689.png
Witch is an image of the first page of the pdf
If you have knowledge about Kotlin Language the go-to flutter/.pub-cache/hosted/pub.dartlang.org/flutter_absolute_path-1.0.6/android/src/main/kotlin/com/kasem/flutter_absolute_path folder in this FileDirectory.kt file you have to set dynamic file extension because in this set static file extension for every file.
void receiveShare(Share shared) {
// TODO: implement receiveShare
}
Result
Share received - {text: null, type: application/pdf, path: content://com.mi.android.globalFileexplorer.myprovider/external_files/CamScanner/New%20Doc%202019-12-04%2012.03.36.pdf}
its return Image file
FilePath: /data/user/0/com.depixed.fileupload/cache/IMG_1581322321796.png
The text was updated successfully, but these errors were encountered: