Good morning,
I have just created my first proof-of-concept app (a widget with a glance). It works well, both on the CIQ simulator and on my actual watch, an Epix Pro/Gen 2/47mm, after side loading it by copying the .prg file to the Garmin/Apps folder. On the CIQ simulator I can call up the properties and it shows them fine. However, when I open the settings of the app in the Garmin Connect app on iOS, the watch crashes and reboots.
Any ideas of what I could be doing wrong? The app is a debug built, but not sure how I can access any relevant debug information that may help?
Here is the XML in which I define the settings.
<resources> <properties> <property id="url" type="string">http://net-nas-1:7070</property> <property id="refreshInterval" type="number">10</property> </properties> <settings> <setting propertyKey="@Properties.url" title="evcc API URL (e.g. https://myhost:myport, http works only with iOS, Android requires https with valid certificate!)"> <settingConfig type="url" required="true"/> </setting> <setting propertyKey="@Properties.refreshInterval" title="Refresh Interval (seconds)"> <settingConfig type="numeric" required="true" min="5" max="60"/> </setting> </settings> </resources>
Thanks for your help!
Regards, Robert