This plugin helps user to download medias for example pdf files, image files etc.
A plugin for creating and managing download tasks. Supports iOS and Android.
This plugin is using native methods for push notifications for both platforms (Android & iOS).
This is easy to use plugin.
Working Demo
Android integration
You just need to add permissions in your manifest file for the push notification. And other permission for read external storage.
<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE" /><uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE" /><uses-permissionandroid:name="android.permission.POST_NOTIFICATIONS" /><!-- For Android 13+ (API 33 and above) --><uses-permissionandroid:name="android.permission.READ_MEDIA_IMAGES" /><uses-permissionandroid:name="android.permission.READ_MEDIA_VIDEO" /><uses-permissionandroid:name="android.permission.READ_MEDIA_AUDIO" />
Open downloaded file from notification
To make tapping on notification open the downloaded file on Android, add the
following code to AndroidManifest.xml: