I am trying to use the native health plugin found here
The plugin won’t build for android as I get the errors below. Has anyone had any luck with this?
Please advise
C:\Workspace\Apps\ProjectT\Mobilev2\platforms\android\src\org\apache\cordova\health\HealthPlugin.java:574: error: cannot find symbol
builder.addScope(new Scope(Scopes.FITNESS_BLOOD_GLUCOSE_READ));
^
symbol: variable FITNESS_BLOOD_GLUCOSE_READ
location: class Scopes
C:\Workspace\Apps\ProjectT\Mobilev2\platforms\android\src\org\apache\cordova\health\HealthPlugin.java:576: error: cannot find symbol
builder.addScope(new Scope(Scopes.FITNESS_BLOOD_GLUCOSE_READ_WRITE));
^
symbol: variable FITNESS_BLOOD_GLUCOSE_READ_WRITE
location: class Scopes
C:\Workspace\Apps\ProjectT\Mobilev2\platforms\android\src\org\apache\cordova\health\HealthPlugin.java:579: error: cannot find symbol
builder.addScope(new Scope(Scopes.FITNESS_BLOOD_PRESSURE_READ));
^
symbol: variable FITNESS_BLOOD_PRESSURE_READ
location: class Scopes
C:\Workspace\Apps\ProjectT\Mobilev2\platforms\android\src\org\apache\cordova\health\HealthPlugin.java:581: error: cannot find symbol
builder.addScope(new Scope(Scopes.FITNESS_BLOOD_PRESSURE_READ_WRITE));
^
symbol: variable FITNESS_BLOOD_PRESSURE_READ_WRITE
location: class Scopes
Note: C:\Workspace\Apps\ProjectT\Mobilev2\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.