Open paddy7 opened 6 years ago
Hi paddy7,
unfortunately I haven't worked on this plugin for more than a year. However I can confirm that the plugin works on with Android 7.0 running on Galaxy S6 edge. I use Cordova 8.0.0 and Cordova Android 6.2.1. The plugin was tested with HR, stride and bike speed sensors. Can you add more details on what is failing?
Thank you for your answer. You are correct I have done some more test and the plugin is working with the Cordova and Cordova Android versions you specified. The build of the app using the newest Cordova Android version fails. As far as I can see this happens because of the change in the default project structure in Cordova Android 7.0.0.
Are you planning to do some further work maybe to make the plugin compatible with the newer versions or have you aborted your work on this project?
I checked where was a problem with latest version of cordova and if you change loading libraries lines in plugin.xml to these:
<lib-file src="src/android/libs/antpluginlib_3-5-0.jar" />
<lib-file src="src/android/libs/fit_14.10.jar" />
it should help and app should build nice.
Hi,
I'm currently working on a project for a university that involves communicating with ant plus sensors. We wanted to use the newest version of cordova, but as far as I can see the plugin is only working up to cordova version 7.1.1. In my tests the plugin wasn't running with an android version newer than 6.3 as well. Do my results match your experience, and are there any plans to port the plugin to newer cordova version?
Thanks