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

Document how to use Android NDK libraries in plugins #902

Open
brody4hire opened this issue Nov 6, 2018 · 2 comments
Open

Document how to use Android NDK libraries in plugins #902

brody4hire opened this issue Nov 6, 2018 · 2 comments

Comments

@brody4hire
Copy link

As discussed in dpa99c/cordova-plugin-hello-c#8 ([1]) and storesafe/cordova-sqlite-storage#729 ([2]) the change in the project directory structure caused issues with plugins using Android NDK libraries (with JNI).

I can think of the following alternative solutions, from least-recommended to most-recommended:

[1] dpa99c/cordova-plugin-hello-c#8
[2] storesafe/cordova-sqlite-storage#729
[3] dpa99c/cordova-plugin-hello-c@b5f4d9c
[4] storesafe/cordova-sqlite-storage#729 (comment)
[5] https://stackoverflow.com/questions/34115571/add-external-jar-library-to-build-cordova-plugin-ionic-framework/34129929#34129929
[6] storesafe/cordova-sqlcipher-adapter@05a9166

@janpio
Copy link
Member

janpio commented Nov 6, 2018

What is the relevancy of this to the Cordova website and documentation?

@brody4hire
Copy link
Author

Considering that the Android plugin development guide exists in https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html (with source in https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/platforms/android/plugin.md), I think some pointers how to use Android NDK libraries belong in this guide.

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

No branches or pull requests

2 participants