Closed manorius closed 11 years ago
Hi, can you post what errors you received from eclipse. Plugin was tested on both 2.6.0 and 3.0.0, I'll update the readme to reflect that while I try and find what the issue is. Thanks. :-)
Hi, I tried a manual install on 2.9.0 just now and got it working. Were your errors related to BluetoothPlugin.java and import org.apache.cordova.PluginResult;
?
I fixed the repository to include a manual
folder inside which the imports are correct for earlier versions. The manual
folder also includes the javascript file which has the cordova definition already included.
Hi Sorry for the late reply, here is a screenshot of some of the error messages that I'm getting
Hi, sorry for the inconvenience. You can fix that by replacing
import org.apache.cordova.PluginResult;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
with
import org.apache.cordova.api.PluginResult;
import org.apache.cordova.api.CordovaPlugin;
import org.apache.cordova.api.CallbackContext;
import org.apache.cordova.api.CordovaInterface;
in BluetoothPlugin.java
file. The namespace holding the correct classes was changed in 3.0.0, so that's why you're getting the errors. I changed the repository to include a manual
folder for installations under version 3.0.0, this is now reflected in the readme.
I changed these but I'm still getting errors..
It's working now when I follow your instructions on installing the plugin. If I try to install the plugin with plugman it throws errors.
It states that this version works on Cordova 2.6.0 and up, I tried to install it on 2.9.0 and eclipse was throwing errors