Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mime type option for APK installation #265

Closed
wants to merge 6 commits into from
Closed

Mime type option for APK installation #265

wants to merge 6 commits into from

Conversation

bhaveshptl
Copy link

Download APK using flutter_downloader was not initiating APK installation. As mime type was setting wrong in case of APK. So Adding option to pass mime type while enqueuing download task.

Bhavesh and others added 6 commits July 5, 2019 13:23
If mimeType is passed while enqueue it will consider that only while opening downloaded file.
…downloader

# Conflicts:
#	android/src/main/java/vn/hunghd/flutterdownloader/DownloadWorker.java
#	android/src/main/java/vn/hunghd/flutterdownloader/FlutterDownloaderPlugin.java
#	android/src/main/java/vn/hunghd/flutterdownloader/IntentUtils.java
#	lib/flutter_downloader.dart
@lockiechen
Copy link

lockiechen commented May 24, 2021

Is there any progress on this PR? @hnvn

@bartekpacia
Copy link
Collaborator

I checked this – downloading and installing APK works. I also added an example APK file to the example app.

You mean the case where the server doesn't set the correct MIME type of a file, right?

@salmaahhmed
Copy link
Collaborator

APK file type works for me

@salmaahhmed salmaahhmed closed this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants