Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library is now crippled with Android dependencies #123

Open
bhaecke opened this issue Apr 9, 2018 · 3 comments
Open

Library is now crippled with Android dependencies #123

bhaecke opened this issue Apr 9, 2018 · 3 comments

Comments

@bhaecke
Copy link

bhaecke commented Apr 9, 2018

Any reason why core classes are crippled with android dependencies that have absolutely nothing to do with XBee's?

@alcarraz
Copy link

alcarraz commented Apr 25, 2019

same problem here, I had to strip away all android sdk references in order to build against a standard jdk, because android sdk redefines lots of core apis without standard methods like stream() in collections.

Maybe android support should be in a fork or as an extension, with android enabling classes extending the base ones

@alcarraz
Copy link

alcarraz commented May 3, 2019

Hi @bhaecke, just in case you still didn't, or for others that may reach this issue by searching, I've made a fork (https://github.com/alcarraz/XBeeJavaLibrary) and stripped of all the android dependencies.

I hope this issue is dealt with before next release, which I would like to be sooner rather than later since the last one does not support Xbee 3.

I think that android support dhould be optional and can be implemented as a second library with device implementations that extend the base ones and add that support.

@bhaecke
Copy link
Author

bhaecke commented May 3, 2019

Hi @alcarraz I got rid of all the Android dependencies as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants