Hi All,
I am getting frustrating error while using the SDK (version 3.0.12) and running it virtually in eclipse. I wrote a watch app and was released and working fine six months ago. I have now added a few trivial updates and am utilizing the latest SDK version. I am getting this error below while executing my code, however, it appears to be running fine in the simulator. I have not touched my manifest file as far as permissions go - and I do and had the "positioning" permission already checked. Anyone know why i'm getting this phantom error message?
Error i'm seeing within the console:
Error: Permission Required Details: Permission for module 'Toybox.Position' required Stack: - onStart() at C:\xxxxxxxx\Garmin\Apps\Tracker\source\TrackerApp.mc:22 0x10000046 Permission for module 'Toybox.Position' required Permission Required @PC = 0x10000046
Snippet of code:
class TrackerApp extends Application.AppBase { ... // onStart() is called on application start up function onStart(state) { Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method(:onPosition)); } ...
My manifest file DOES have positioning permissions checked:
.....
<iq:permissions>
<iq:uses-permission id="Background"/>
<iq:uses-permission id="Fit"/>
<iq:uses-permission id="FitContributor"/>
<iq:uses-permission id="PersistedContent"/>
<iq:uses-permission id="PersistedLocations"/>
<iq:uses-permission id="Positioning"/>
<iq:uses-permission id="Sensor"/>
<iq:uses-permission id="SensorHistory"/>
<iq:uses-permission id="SensorLogging"/>
</iq:permissions>
<iq:languages>
<iq:language>eng</iq:language>
</iq:languages>
<iq:barrels/>
</iq:application>
</iq:manifest>