Daily Note on Startup Filled With Non-existent Template on Android

Steps to reproduce

  1. Enable Daily Notes Core Plugin in Restricted mode on android
  2. Set obsidian to open daily note on startup
  3. Set a template in Daily Notes
  4. Delete the template
  5. Open Obsidian

Did you follow the troubleshooting guide? [Y/N]

Yes.

Expected result

Expected a new empty daily note file

Actual result

Produces a new file filled with the contents of a previously deleted file that no longer exists in the vault

Environment

SYSTEM INFO:
Obsidian version: 1.12.7 (303)
API version: 1.12.7
Operating system: Android 16 (Google Pixel 8)
Webview version: 147.0.7727.55
Login status: not logged in
Language: en
Live preview: on
Base theme: dark
Community theme: Minimal 8.0.4
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

Workaround: The file daily-notes.json includes the line ‘“template”: “”’. Deleting this line fixes the issue. Generating a daily note through the command always produces expected behavior, it is only the automatic daily note generated on startup that has this issue.
Maybe the daily note being opened on startup is not properly checking whether the field is empty and is resolving to a cached or random file.

To be clear, by delete the template I mean delete the text in the template field in the Daily Notes settings.