E0477 Link domain or URL scheme that is not valid
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
links.domains lists host names whose https links open the app (Android App Links, iOS universal links), each alone, without https:// or a path. links.scheme is the app's own URL scheme: lower-case letters, digits, + - and ., starting with a letter. http, https, mailto, tel and the other common schemes belong to the system and cannot be an app's.
How to fix it
Write domains: [notes.example.com] and scheme: fieldnotes. Each domain then serves the assetlinks.json and apple-app-site-association files the native build writes (docs/guide/native-apps.md).
In a terminal
duolith explain E0477