SimonSimCity / Xamarin-CrossDownloadManager

A cross platform download manager for Xamarin
MIT License
149 stars 68 forks source link

it downloads file but shows the message file does not exist. in the file manager when i try to open the file #76

Closed Danshekar closed 6 years ago

Danshekar commented 6 years ago

To help us fix your issue, please provide the information in the below template.

Note: If you want to save time, please create a fork, reproduce the bug in the sample projects and add a link to the repository here.

Steps to reproduce

1.

2.

3.

Expected behavior

Tell us what should happen

Actual behavior

Tell us what happens instead

Configuration

Platform:

Device:

SimonSimCity commented 6 years ago

@Dhanashekar007 could you (by any chance) provide more information here? I have no clue of how to test or reproduce this. For now I can only say that it works for me on a real Android device and I know of a project this package is used, where it's installed on quite some iOS devices without any problems.

SimonSimCity commented 6 years ago

@Dhanashekar007 You have to provide me more details about your environment - if not I have to close this issue because I have no chance to either reproduce it, nor will you help me checking if it has been resolved.

Danshekar commented 6 years ago

I am able to download the file but I can't open the file it's shows it doesn't exist in Android

IN IOS I am not able to download the file

SimonSimCity commented 6 years ago

@Dhanashekar007 please provide me more details. I just know that it doesn't work for you, but it works perfectly for me in the sample project and in the application I use this. Please provide me with a version that does not work or show me some code so I can see where it goes wrong.

anupk29 commented 6 years ago

In ios we are not able to see the downloaded PDF file..

SimonSimCity commented 6 years ago

@anupk29 please create a fork of this repository with a reproducible example or give me access to a version of your application where I can try this myself. It works perfectly for me ...

anupk29 commented 6 years ago

i called foo.InitializeDownload(); method once again after completing(writing) all the bytes then i was able to see the file in appdata folder.. Thanks its working now..but its not listing in iphone Adobe reader app.. which is installed in the same iphone..

SimonSimCity commented 6 years ago

True, but this is an iOS limitation. You need to get the file out of your app and get it over to the other app somehow. Or you need to download it by the other app even - but this is off-topic for this plugin. Feel free to add additional help which others could benefit from, but for me this issue seems not related to this plugin anymore.