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

Fix permission prompt #378

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Lentumunai-Mark
Copy link
Contributor

Entails to resolve permission prompt for Android >= 13

for more context, please refer to the link below

Related to this issue.

@coveralls
Copy link

Pull Request Test Coverage Report for Build #620

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 34.761%

Files with Coverage Reduction New Missed Lines %
../../../.gradle/daemon/8.7/library/src/main/java/io/ona/kujaku/helpers/PermissionsHelper.java 9 0.0%
Totals Coverage Status
Change from base Build #619: -0.02%
Covered Lines: 2751
Relevant Lines: 7914

💛 - Coveralls

Comment on lines +22 to +27
List<String> permissions = new ArrayList<>();
permissions.add(Manifest.permission.ACCESS_FINE_LOCATION);

if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S) {
permissions.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
}
Copy link
Member

Choose a reason for hiding this comment

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

@Lentumunai-Mark Do we have tests for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dubdabasoduba no existing tests for the class.

Copy link
Member

Choose a reason for hiding this comment

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

Please create one

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.

3 participants