remotely-save/docs/browser_env.md

848 B

Limitations From The Browser Environment

Obsidian desktop is developed by using Electron. And Obsidian mobile is developed by using Capacitor

Technically, the plugin (or any plugin?) runs in the js environment provided by Obsidian. And to support the mobile Obsidian, the plugin is limited to be developed for the browser environment, instead of the Node.js environment.

Then some limitations are applied:

  1. The CORS issue (solved in the new Obsidian version on some platforms).
  2. No Node.js environment.
  3. If the cloud service uses OAuth flow, it needs to support PKCE. More details are here.
  4. No background running after Obsidian is closes.