capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

Image upload failed

Open zzcraft1 opened this issue 1 year ago • 5 comments

Capacitor Version

"@aashu-dubey/capacitor-statusbar-safe-area": "^4.0.0", "@capacitor-community/native-audio": "^7.0.1", "@capacitor/android": "7.4.3", "@capacitor/app": "^7.0.0", "@capacitor/app-launcher": "^7.0.0", "@capacitor/camera": "^7.0.0", "@capacitor/clipboard": "^7.0.0", "@capacitor/core": "^7.0.0", "@capacitor/device": "^7.0.0", "@capacitor/filesystem": "^7.0.0", "@capacitor/geolocation": "^7.0.0", "@capacitor/haptics": "^7.0.0", "@capacitor/ios": "7.4.3", "@capacitor/keyboard": "^7.0.0", "@capacitor/local-notifications": "^7.0.0", "@capacitor/preferences": "^7.0.0", "@capacitor/push-notifications": "^7.0.0", "@capacitor/status-bar": "^7.0.0", "@capgo/capacitor-photo-library": "^7.2.7", "@capgo/capacitor-social-login": "^7.0.0", "@capgo/capacitor-updater": "^7.0.0",

Other API Details


Platforms Affected

  • [ ] iOS
  • [x] Android
  • [ ] Web

Current Behavior

When using Capacitor + Vue3 to package an Android app, after the screen is turned off or the app runs in the background for a period of time and then re-enters, the file upload function of Vant cannot monitor the changes in variables, resulting in no preview image on the page and the upload interface not being triggered.After selecting the file, there is no change on the page. There is no preview image and no file upload interface is triggered.

Expected Behavior

It is possible to have a normal preview image, and after successful upload, the address of the preview image can be changed.

Project Reproduction

无

Additional Information

No response

zzcraft1 avatar Nov 18 '25 08:11 zzcraft1

@zgl612 I am working on this and will raise PR soon!

Suryansh0910 avatar Dec 04 '25 18:12 Suryansh0910

@zgl612 I have solved this issue. please review my PR

Suryansh0910 avatar Dec 04 '25 18:12 Suryansh0910

@zgl612我已经解决了这个问题,请查看我的 PR。 OK, thank you. When can we start? Can I use the current version of the dependent packages?

zzcraft1 avatar Dec 22 '25 01:12 zzcraft1

We’re reviewing older issues as part of our backlog cleanup effort:
https://ionic.io/blog/keeping-capacitors-backlog-healthy

To keep this open, please provide an updated minimal reproduction and environment details on the latest version of Capacitor within 7 days.

Otherwise, we’ll close it to keep the backlog focused. It can always be reopened with updated info.

eric-horodyski avatar Feb 24 '26 19:02 eric-horodyski

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Apr 04 '26 16:04 ionitron-bot[bot]