-
-
Notifications
You must be signed in to change notification settings - Fork 78
Enable for mobile #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @piranha. I tried it on mobile by manually uploading it to mobile vault and changing
On mobile you are also allowed to add images from the gallery to your note. But looks like none of those events are used. So, in short:
When I developed for desktop, there was a Chrome console which helped me a lot. For mobile, I do not know yet how to easily debug. There was a message in the chat on how to connect to remote console, but I haven't tried that yet. Do you know if copy-paste is available for images on mobile platforms? I have an Android phone. I have a "Copy" context menu option in Chrome browser. When I go to Obsidian, and try to "Paste", simply nothing happens. At the same time if I go to Telegram and Paste the image previously copied from Chrome, it works! I think Obsidian for Android does not handle paste event as we and the current implementation of imgur plugin expects. |
Yeah, I have an iOS device and nothing happens. I also installed an iPad version on macOS and nothing happens on pasting an image there. So I guess mobile app has no support for pasting anything but text right now. |
Tried with iPhone too -> same result. Nothing happens on "paste" context menu item. I created the feature request on Obsidian forums to support "pasting" images on mobile. |
I have no idea about the events involved when pasting on mobile platforms. But there is a plugin that enables a dev console on mobile (I’ve only tried it on iOS). I think it needs to be installed manually, but it worked fine for me. Debugging this way is still cumbersome, but at least it’s something 😌 |
"This plugin does not support your device" My situation is the following : I can't even enable the plugin on ipadOS, because (as is often the case) I get this red notice : "This plugin does not support your device". I wonder if this is easily fixable. Would love to learn how to fix this kind of thing as it is a recurring pbm with obsidian plugins on mobile. Anyway, I have a feeling that the conversation has gotten a bit old and I'm not quite sure we're refering to the same issue : it seems that people here are refering to pasting images from a clipboard, which has only been made possible very recently on obsidian mobile ( forum.obsidian ). |
Hi @A000045 You can easily fix this error message by opening the vault which you had on PC and changing one line in
|
Today I've spent my morning on understanding why it does not work on mobile.
So, I opened the "Network" tab to understand what's wrong and first thing I saw was {
"data": {
"error": "Imgur is temporarily over capacity. Please try again later."
},
"success": false,
"status": 403
} I compared requests from desktop and mobile Obsidian apps and one major difference is that the I've posted a question on Obsidian forums about the possibility to get non-localhost value for |
This refactoring is needed to enable support of mobile devices #13
Finally available in v2.4.0 🎉 (just released) |
Hi @gavvvr , thanks for your effort on maintaining this plugin 🙏 I have installed this plugin today, and I confirm that I have authenticated in Imgur, however, after uploading an image from gallery via Obsidian iOS, the file is saved only locally. I have no idea where to debug. Can u please give some hints? Thanks a lot! |
Hi @softlylove The problem is that the plugin currently handles "paste" or "drag-and-drop" events. Those are 2 different ways how you add images on desktop Obsidian app.
Unfortunately, I have no idea if it's even possible to debug Obsidian on iOS. If you have Android device, you can enabled USB debugging and connect to Obsidian mobile with Chrome Dev Tools (I've described how to do it here) |
It works on iOS Photos :) |
Hey! This plugin is enabled for desktop only right now. Do you think it's possible to enable it for mobile app? :)
The text was updated successfully, but these errors were encountered: