Skip to content
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

Not working on Android #45

Open
Charles7z opened this issue Sep 23, 2023 · 4 comments
Open

Not working on Android #45

Charles7z opened this issue Sep 23, 2023 · 4 comments

Comments

@Charles7z
Copy link

File is correctly updated with cursor position however it does not scroll to position after closing the file or exiting obsidian. Tested in source view and live view.

Obsidian 1.4.9
Android 13, pixel 6a

@Charles7z
Copy link
Author

Charles7z commented Sep 24, 2023

I found a way to make this plugin work on Android.

  1. Enable core plugin "workspaces"
  2. Enable this plugin
  3. Open file
  4. Save workspace for the file you want to have cursor location saved.

From thereon if you make sure to closer that file/workspace without changing the workspace, like opening another tab, the workspace will be saved to open where you left off.

By themselves neither plugin will save and open the file to the proper location, just opens the file to the top.

Maybe there's something in this that'll help figure out why the plugin needs a workspace saved or maybe a workaround so that it's not needed in the future 🤷‍♂️

@dy-sh
Copy link
Owner

dy-sh commented Oct 2, 2023

Thanks for the useful information

@Charles7z
Copy link
Author

Found more useful info for Android users.

The plugin will remember cursor position without saving a workspace however once you close the file you MUST open it via "see recent files" or search. If you open the file via the file manager it'll open at the beginning of the document.

It seemed odd that the json file was properly being updated but then wasn't triggering the file to the property location. So, for Android, there seems to be a bug, or feature 😄, that resets the cursor position, or ignores the plugin, when the file is opened via file manager 🤷‍♂️

@guyyakobovitch
Copy link

Same issue experienced on Android:
Samsung Tab S8+, Android 13
Obsidian 1.4.16(114)

The cursor position always comes back to line 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants