title: Ionic Cordova Health Plugin - Not working on Ionic DevApp
body: <p>I installed this plugin on my Ionic app: <a href="https://ionicframework.com/docs/native/health/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/health/</a></p>
  <p>This plugin is compatible with both Apple Health-Kit and Google-Fit. Here is my code:</p>
  <pre><code>import { Component } from '@angular/core';
  import { NavController, IonicPage } from 'ionic-angular';
  import { Health } from '@ionic-native/health';
  
  @IonicPage({
    priority: 'off'
  })
  @Component({
    selector: 'page-health',
    templateUrl: 'health.html'
  })
  
  export class HealthPage {
  
  constructor(public navCtrl: NavController,
            private health: Health) {
  
    this.health.isAvailable()
      .then((available:boolean) =&gt; {
      console.log(available);
      this.health.requestAuthorization([
        'distance', 'nutrition',  //read and write permissions
        {
          read: ['steps'],       //read only permission
          write: ['height', 'weight']  //write only permission
        }])
      .then(res =&gt; console.log(res))
      .catch(e =&gt; console.log(e));
    })
      .catch(e =&gt; console.log(e));
    }
  }
  </code></pre>
  <p>When I run it on DevApp I get these warnings (even though I installed the cordova and npm plugin):</p>
  <blockquote>
  <p>console.warn: Ionic Native: tried calling Health.isAvailable, but the Health plugin is not installed.</p>
  <p>console.warn: Install the Health plugin: 'ionic cordova plugin add cordova-plugin-health'</p>
  </blockquote>
  <p>I ran it using Xcode on my device and it's working properly. But what I want to do is to try it using Ionic DevApp because it's fast for editing and development. I checked and this plugin IS supported by the DevApp, so there should be no problem. See the link: <a href="https://ionicframework.com/docs/pro/devapp/" rel="nofollow noreferrer">https://ionicframework.com/docs/pro/devapp/</a></p>
  <p>Any thoughts? Thank you!</p>