-
Notifications
You must be signed in to change notification settings - Fork 104
Fixes Runtime Permissions #407
base: develop
Are you sure you want to change the base?
Conversation
f561391
to
a48533f
Compare
Can you add a gif of the fixed one. |
I think this prompts permission dialog when the application starts. The proper behavior would be prompting when the user tries to open Circle of Trust. |
No. It is the only place which uses location from the device. Get Help Now is location specific. But the user has to choose the location manually. |
@chamika @sandarumk Yes Circle of Trust is the only part which needs location permission. But there are also other fragments in the application which need dangerous permissions like |
It is a good practice to rebase rather than merge (of course there has been lot of discussion going on and different people have different views. But in this context we prefer rebasing because it provides more cleaner code). since merge will have merge commits. To remove unnecessary commits from your PR consider squashing next time. |
@abs51295 Can you list down the fragment and their permission if you are going to separate them? |
@sandarumk For sure I will keep in mind from next time 👍 .
|
A user can navigate to Trustees only through Circle of Trusts fragment. So showing READ_CONTACTS runtime permission in CircleOfTrustFragment will remove Trustees from the list. I think it will not be hard to request the permissions individually in fragments instead of application start since there are only 3 fragments. |
agree with you @chamika |
Hey @chamika @sandarumk I am sorry I am busy with exams. I will update this asap as suggested by @chamika . |
Hey @abs51295 as this is a single issue , so one commit per feature is generally recommended by the mentors. Please squash the commits into one that will make easy to track down the change(s) per issue/feature independently. :-) |
Hey Himanshu! Thanks for the hint. But the commits can be squashed into one while merging also right? |
yeah @abs51295 :-) . But we have to strictly follow the PR best practices guidelines. For reference please refer to the commit section in this link . |
Yeah but I think have messed up this time, unfortunately. I used merge instead of rebase and now I am facing problems to squash commits into one. I would request @sandarumk @chamika to allow it this time. I would surely follow the rebase concept next time. |
|
ec98237
to
d0e9df5
Compare
@sandarumk Please review. |
Fixes #397
GIF of the fixed issue: