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

[DOC] add version script usage to best practices doc #1235

Closed
DanAlbert opened this issue Apr 13, 2020 · 2 comments
Closed

[DOC] add version script usage to best practices doc #1235

DanAlbert opened this issue Apr 13, 2020 · 2 comments
Assignees
Labels

Comments

@DanAlbert
Copy link
Member

Using a version script that restricts your library to exposing only your JNI interface is always a good idea and helps avoid the annoying unwinder issues. We should probably recommend these by default (and maybe update the samples and Studio project templates?)

@DanAlbert
Copy link
Member Author

https://developer.android.com/ndk/guides/middleware-vendors covers this for the AAR case. It's slowly working its way into the samples as I rewrite and touch up the old ones. It's not in the Studio templates yet but is in https://github.com/danalbert/ndk-app-template which is a sort of prototype for what those templates ought to be.

I've sent a doc for review that covers the concept in general on DAC. Will link that here when it's live.

@DanAlbert
Copy link
Member Author

@DanAlbert DanAlbert self-assigned this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant