Repository navigation
Conversation
|
Thanks for your contribution. Can you add ui tests for it so we can validate that it works as it should ? |
|
Which folder should I use for such test? |
|
Use the namespace name, separated by
|
|
Could you please specify which folder, and not refer to document that is not related to my question? |
|
The document I'm referring to is related to your question, and you can place it where any other test is located. Use |
|
After adding test, I got three conflicts - I do know how to resolve AndroidManifest.xml, but doesn't have any clue how to resolve two others. |
|
Will be reopened |
GitHub Issue (If applicable): #
PR Type
What kind of change does this PR introduce?
All of above, and - at same time - none of above :)
What is the current behavior?
Current implementation of Android permission helper functions doesn't work.
Currently there is no possibility to invoke system dialog asking for permission from Uno code (e.g. from RequestAccessAsync methods).
So, PR#2024 (geolocator) is labelled as 'help needed' (to split code into levels - as was said in Lobby or in some comments), also PR#2544 (contacts), PR#2757 (calllog), and soon-to-be PR (SMS access) cannot be fully implemented (some code have to be included in app code, not inside Uno).
What is the new behavior?
New helper methods works inside Uno, and can invoke system dialog asking for permission.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
I made it as separate PR, to be used in all four PRs mentioned above, as code is common (and I don't want contacts-PR be dependend on e.g. geolocator PR). Also, it can be used from other Uno PRs and from user code.
I don't edit/modify current Android methods in permissionhelper.cs, as they can be somewhere used (structure of these methods are cumbersome, too complicated for me).
Internal Issue (If applicable):