title: Garmin-Watchface: How to show Heartrate?
body: <p>In a watchface I created which ConnectIQ (4.30) I can show the clocktime, but when I try to show the heartrate I get the error</p>
  
  <blockquote>
    <p>Details: Module 'Toybox.Sensor' not available to 'Watch Face'</p>
    
    <p>Stack: 
      - onStart() at /Users/…/source/_garmin_projectAPP.mc:13 0x10000095 Permission Required</p>
  </blockquote>
  
  <p>In the manifest I added all available permissions, I also imported the Sensor with</p>
  
  <blockquote>
    <p>using Toybox.Sensor</p>
  </blockquote>
  
  <p>I am also not sure where exactly to enable the heartrate-sensor with e.g.</p>
  
  <pre><code>Sensor.setEnabledSensors([Sensor.SENSOR_HEARTRATE]);
  Sensor.enableSensorEvents(method(:onSensor));
  </code></pre>
  
  <p>I tried in the <code>initialize()</code> and <code>onStart(state)</code> method, but still I get the error shown above. </p>