moberwasserlechner / capacitor-filesharer

Capacitor plugin to download and share files for the Web, Android and iOS! Stop the war in Ukraine!
MIT License
83 stars 20 forks source link

No save or download file option on Android #46

Open shaifulborhan opened 1 year ago

shaifulborhan commented 1 year ago

Description

I am testing on Android 10 and I don't see the option to Save or Download the shared photo to my photo library. It is available in iOS though.

Is it related to permission?

FYI, I have granted Camera and Photos permissions using the Capacitor Camera plugin and have the READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE lines in AndroidManifest.xml.

Capacitor version:

Run npx cap doctor:

@capacitor/cli: 4.7.0
  @capacitor/core: 4.7.1
  @capacitor/android: 4.7.1
  @capacitor/ios: 4.7.1

Library version:

Your Plugin Configuration

{
    filename: `photo-${this.activePhoto.id}.jpg`,        
    base64Data: this.activePhotoBase64,
    contentType: "image/jpg",
}
moberwasserlechner commented 1 year ago

As a iOS user I'm a little bit suprised that Android does not support that. I tested with Android 13 and can confirm that. I need to test further

Resources understand this behavior:

mortenoc commented 1 month ago

Any update regarding this?