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

[AND-37] Change permission flow #2066

Open
wants to merge 2 commits into
base: dev-v10
Choose a base branch
from

Conversation

Culurio
Copy link

@Culurio Culurio commented Nov 5, 2024

What does this PR do?

This PR aims to only ask for unknown sources permission only after the download

Database changed?

No

Where should the reviewer start?

  • AptoideDownloader.kt

How should this be manually tested?

Flow on how to test this or QA Tickets related to this use-case: AND-37

What are the relevant tickets?

Tickets related to this pull-request: AND-37

Questions:

Does this add new dependencies which need to be added? (Eg. new keys, etc.)

Code Review Checklist

  • Documentation on public interfaces
  • Database changed? If yes - Migration?
  • Remove comments & unused code & forgotten testing Logs
  • Codestyle
  • New Kotlin code has unit tests
  • New flows in presenters unit tests
  • Mappers/Validators with any kind of logic unit tests
  • Functional tests pass

@Culurio Culurio force-pushed the feature/AND-37_Change-permission-flow branch from eb83e32 to feef537 Compare November 5, 2024 13:40
@@ -32,7 +32,6 @@ class AptoideDownloader @Inject constructor(
if(installPackageInfo.hasObb()) {
installPermissions.checkIfCanWriteExternal()
}
installPermissions.checkIfCanInstall()
Copy link

Choose a reason for hiding this comment

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

I don't think we should do this, as this could break the installations

Copy link
Contributor

@GuiFPires GuiFPires Nov 6, 2024

Choose a reason for hiding this comment

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

@G0retZ we check on the installations part, as it's done on vanilla. After the app is downloaded, the installation flow starts and if the user doesn't have install unknown sources permission, our dialog for the install unknown sources will appear

@G0retZ G0retZ self-assigned this Nov 6, 2024
@Culurio Culurio requested a review from G0retZ November 8, 2024 12:53
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