-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add permissions callback hook. #83
Conversation
{{ cookiecutter.format }}/app/src/main/java/org/beeware/android/IPythonApp.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Malcolm Smith <smith@chaquo.com>
@@ -13,4 +13,6 @@ public interface IPythonApp { | |||
void onConfigurationChanged(Configuration newConfig); | |||
boolean onOptionsItemSelected(MenuItem menuitem); | |||
boolean onPrepareOptionsMenu(Menu menu); | |||
// There's no need to add any more methods to this interface, as the Python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, pre-commit whitespace failure.
// There's no need to add any more methods to this interface, as the Python | |
// There's no need to add any more methods to this interface, as the Python |
Queuing for re-review, as I've added the file provider declaration to this PR. |
I've merged this with the changes from #82 that landed. As a result, this PR should be mergable without any risk to main usage of briefcase; and when it has been merged, beeware/toga#2353 should pass. |
In order to resolve permissions requests, we need a callback hook on the Java side of an Android app.
Also bumps the appcompat version to ensure availability of the CurrentContext helper, needed to evaluate permissions.
PR Checklist: