01 Common mistakes

- Card shows "No browser settings for My Server.": registerPlugin wasn't called synchronously (for example after an await).
- "Failed to load plugin.": Your function threw. Open the browser console.
- btoa error "invalid character": You passed non-Latin-1 text to btoa. Use the b64 helper.
- Device ignores a value: It isn't flat (nested object, boolean, decimal), or the file is over 2 KB.
- Two plugins fight over elements: You used document.getElementById with generic IDs. Use container.querySelector.

Next: Tutorial 2: Your own book shelf.
Reader file (.txt)