SimonSimCity / Xamarin-CrossDownloadManager

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

When i download videos In iOS Download Notification is not viewed #115

Closed Nagendra574 closed 5 years ago

Nagendra574 commented 5 years ago

1.On Downloading the video In iOS, Download Notification is not viewed.

Platform:

SimonSimCity commented 5 years ago

I didn't integrate a notification on iOS devices ... Did I miss out on something?

Nagendra574 commented 5 years ago

Yes. We observed that Download Notification perfectly working in Android devices. But its not working iOS devices. So, can you please help us how can we achieve Download Notification in iOS devices using Xamarin Forms. Thanks for your help.

SimonSimCity commented 5 years ago

I haven't worked with Xamarin Forms, so I can't help you much here.

If you know how to set up a notification, you can register a handler for the event by passing an extended version of UrlSessionDownloadDelegate into the constructor of the iOS version of the download manager - this should help you getting on your way for a device specific implementation. You can also remove the native notification shown on Android and create something custom for both devices, this might be the better way anyways in terms of UX.

I'll close this because it's not something this plugin will solve, but rather a request for an example. If somebody sends in a PR I'll have a look at it and merge it.

Nagendra574 commented 5 years ago

HI, I don't have an experience in IOS as well as swift please give the related example or alternative suggestion .

Thanks in advance

On Mon, Aug 26, 2019 at 11:29 PM Simon Schick notifications@github.com wrote:

I haven't worked with Xamarin Forms, so I can't help you much here.

If you know how to set up a notification, you can register a handler for the event by passing an extended version of UrlSessionDownloadDelegate into the constructor of the iOS version of the download manager - this should help you getting on your way for a device specific implementation. You can also remove the native notification shown on Android and create something custom for both devices, this might be the better way anyways in terms of UX.

I'll close this because it's not something this plugin will solve, but rather a request for an example. If somebody sends in a PR I'll have a look at it and merge it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SimonSimCity/Xamarin-CrossDownloadManager/issues/115?email_source=notifications&email_token=AKOJ3XMKEJBLYQK3XLVAJS3QGQKZTA5CNFSM4H6LRHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FEXSQ#issuecomment-524962762, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOJ3XMFRBGNWLFZS7H2MJDQGQKZTANCNFSM4H6LRHSQ .