Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L440)][[2](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L482)][[3](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L604)]:This is only available on desktop, use the [Platform](https://docs.obsidian.md/Reference/TypeScript+API/Platform) interface from the Obsidian API instead.

[[1](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L67)][[2](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L68)][[3](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L69)][[4](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L70)][[5](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L71)][[6](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L75)][[7](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/settings-tab.ts#L76)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/commands.ts#L20)][[2](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/commands.ts#L30)][[3](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/commands.ts#L40)][[4](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/commands.ts#L50)]:We recommend against providing a default hotkey when possible. The reason being that it's easy to pick a hotkey that a user already has configured and they could get confused when that key doesn't do what they expect. Also, it's hard choosing a safe default hotkey that's available for all operating systems.

[[1](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L196)][[2](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L200)][[3](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L203)][[4](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L206)][[5](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L208)][[6](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L225)][[7](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L228)][[8](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L230)][[9](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L236)][[10](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L241)][[11](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L244)][[12](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L247)][[13](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L251)][[14](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L256)][[15](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L263)][[16](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L265)][[17](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L270)][[18](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L273)][[19](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L291)][[20](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L295)][[21](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L300)][[22](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L306)][[23](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L310)][[24](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L321)][[25](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L328)][[26](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L345)][[27](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L353)][[28](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L364)][[29](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L370)][[30](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/src/upic-uploader.ts#L382)] and more :You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L404)][[2](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L495)][[3](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L512)][[4](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L567)][[5](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L642)][[6](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L682)][[7](https://github.com/wangdefou-dev/uPic-Images-Auto-Uploader/blob/15c1e487e607d3f7f7250cebf6aa35d59815e661/main.ts#L797)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.