zolrath / obsidian-auto-link-title

Automatically fetch the titles of pasted links
MIT License
415 stars 55 forks source link

Pasting links on Android still doesn't work (since 1.5.0 update). #102

Closed WereWolfPL closed 5 months ago

WereWolfPL commented 5 months ago

The previous issue has been closed, so I'm not sure if it shows the replies, that's why I'm opening it again.

Actually, the new update (1.5.2) didn't help with Android, still doesn't paste anything at all.

I did manage to run developer console for android, here's the error when I try to paste a link to obsidian, maybe it'll help you somehow. It's the same error regardless of the new option enabled or disabled. Below is the log with the error from the console. localhost-1705223419935.log

zolrath commented 5 months ago

Thank you very much for the log! Looks like the crypto module doesn't work on Android so I've reverted back to my old manual method of generating the hash. Can you confirm that the new version fixes it for you?

WereWolfPL commented 5 months ago

Now it works. The new scraper method shows "site unreachable", but with this option turned off it works perfectly, thanks :)

Matgoeth commented 5 months ago

Tested and works fine with the "legacy" method, thank you for update, @zolrath ! Super keen on testing crypto module someday if you'd like to fix it someday for mobile (on PC it works great!)

zolrath commented 5 months ago

Glad to hear it works, and a bummer to hear that the new scraping method is also unavailable on mobile as it's an Obsidian API, was hoping it would work on all devices.

Thanks for the confirmation!