-
You are right, id and directory name must match. Also, in the
storage
section, thename
entries for the app's files must match themyapp.(app|settings|…).(js|…)
pattern. But the local names of the files, which are referenced in theurl
property of thestorage
entries, can be arbitrary. In the official app loader,<appname>.app.js
andapp.js
are both used. After testing around, I decided to stick with the long version even within the app loader.The 404 is also gone, I've changed the branch name template in
loader.js
to match the setup of my app loader.
This looks like a problem with your apps.json entry.
I cant see any entries for this puzzle.
For everything to work properly
1) code should be in Bangle/apps/myapp/app.js
2) In apps.json the id should be myapp and match the subdirectory name
When I go to your App loader and click on the link to the source code , I get a 404. This is due to some mismatch between the app id, the apps.json entry and the sub-directory where you checked in the code.