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

feat(android): implements Activity Result API changes for permissions and activity results #222

Merged
merged 10 commits into from
Feb 9, 2021

Conversation

carlpoole
Copy link
Member

Updates to implement changes to the Activity Results API and permission requests, see: ionic-team/capacitor#4127

  • Removes the permissionCallback element from the @PluginMethod annotation. The permission result callback methods are now annotated directly with @PermissionCallback and the method name is passed in at request time.
  • Removed request codes and added @ActivityCallback methods.

Copy link
Contributor

@imhoffd imhoffd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting stuff! 😊

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a minor thing on the share plugin changes

@imhoffd imhoffd merged commit f671b9f into main Feb 9, 2021
@imhoffd imhoffd deleted the activity-result branch February 9, 2021 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants