-
• #2
You can't have duplicate keys in JSON so that could cause an issue. Looks like maybe the app loader needs updating to allow you to have more than one dependency?
Also, when it is allowed, you probably just want
{"widpedom":"app"}
- although it is a widget, the app loader may not care - 'app' will just mean it's looking for something with that app ID. -
• #3
Yes, definitely need more than 1 dependancy. Do you need me to log it as an issue on github? I'm not desperate for a fix, but want to manage dependancies properly in my apps in future to avoid support issues and frustration of new users.
-
• #4
Just checked, this it works fine. I just added it for you for pastel: https://github.com/espruino/BangleApps/commit/5bcf66d6faa01b494511acb986ee1f34346b4c3d
You literally just do:
"dependencies": {"mylocation":"app", "widpedom":"app"},
Can't get dependancies to work with widgets.
I also tried
But this resulted in an Object Object error.
1 Attachment