(Go: >> BACK << -|- >> HOME <<)

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: some macro methods for Android PermissionHelper #4186

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pkar70
Copy link
Contributor
@pkar70 pkar70 commented Sep 30, 2020

GitHub Issue (If applicable): #

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Some scenarios dealing with permissions on Android are complicated.

What is the new behavior?

Three methods added:

  • CheckPermission without CancellationToken
  • AreDeclaredInManifest - same as IsDeclaredInManifest, but for more than one permission at once
  • EnsuresPermissionsAreDeclaredInManifest - check declaration or fail (throw)

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

This PR would be used in several of my other PRs, and probably also by by others.

Internal Issue (If applicable):

@pkar70 pkar70 requested a review from a team September 30, 2020 12:51
@gitpod-io
Copy link
gitpod-io bot commented Sep 30, 2020

src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
src/Uno.UWP/Extensions/PermissionsHelper.cs Outdated Show resolved Hide resolved
@pkar70
Copy link
Contributor Author
pkar70 commented Oct 7, 2020

Can I get any reaction for this PR (updated version)?

1 similar comment
@pkar70
Copy link
Contributor Author
pkar70 commented Oct 19, 2020

Can I get any reaction for this PR (updated version)?

@pkar70 pkar70 mentioned this pull request Oct 22, 2020
5 tasks
@pkar70
Copy link
Contributor Author
pkar70 commented Nov 13, 2020

Can I get any response/review of this PR?

@pkar70
Copy link
Contributor Author
pkar70 commented Nov 21, 2020

So, one method is removed (if you don't want it), but another is still present.

@pkar70
Copy link
Contributor Author
pkar70 commented Nov 22, 2020

Sorry, I removed bad method :) Not the method you doesn't want...

@agneszitte
Copy link
Contributor

@pkar70 there is come conflicts to be resolved for this PR ;)

Co-authored-by: Agnès ZITTE <16295702+agneszitte-nventive@users.noreply.github.com>
@gitpod-io
Copy link
gitpod-io bot commented Sep 19, 2022

@MartinZikmund MartinZikmund marked this pull request as draft July 1, 2024 14:30
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

Successfully merging this pull request may close these issues.

None yet

4 participants