Image upload failed
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
@zgl612 I am working on this and will raise PR soon!
@zgl612 I have solved this issue. please review my PR
@zgl612我已经解决了这个问题,请查看我的 PR。 OK, thank you. When can we start? Can I use the current version of the dependent packages?
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.
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.