nativescript-community / nativescript-health-data

Cross platform Health Plugin for NativeScript, using Apple HealthKit and Google Fit
Apache License 2.0
48 stars 17 forks source link

new HealthData() is preventing my app from starting #26

Open jorgeartigas opened 5 years ago

jorgeartigas commented 5 years ago

Hello I installed the plugin and this specific line is preventing my app from starting, it gets stuck on splash screen and nothing happens, it doesn't let me open the debugger and doesn't give any errors at all (Android) didn't try on IOS

this.healthData = new HealthData();

If I comment this line, everything works as expected but I'm not able to use the plugin

tns info
√ Getting NativeScript components versions information...
√ Component nativescript has 5.1.1 version and is up to date.
√ Component tns-core-modules has 5.2.0-rc-2018-12-14-145545-01 version and is up to date.
√ Component tns-android has 5.1.0 version and is up to date.