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: When trying to patch a bundled/split apk the manager should refuse to patch with a message #273

Closed
ghost opened this issue Sep 22, 2022 · 11 comments
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@ghost
Copy link

ghost commented Sep 22, 2022

Type

Functionality

Manager Branch

Flutter

Issue

Bundle apk files don't work. I confirmed through testing and found the notice isn't helpful and should be reworked.

Feature

The manager should deny patching the apk with a message saying: "Bundle APK's are not supported. Make sure the apk you download is not a bundle. apkmirror.com is a good source of apk files and clearly states if the file you download is a bundle or not"

Motivation

It clears up confusion i've noticed on reddit especially. Someone on r/revancedapp asked me how to find the correct apk.

Additional context

No response

@ghost ghost added the Feature request Requesting a new feature that's not implemented yet label Sep 22, 2022
@Aunali321
Copy link
Contributor

Split apks do work but only for root. And we can not add apkmirror as source as it's third party.

@escape0707
Copy link

And we can not add apkmirror as source as it's third party.

Just an after thought inspired by this issue but, can we add a button with a customizable url to open next to each apps' update available panel? Or something?

@ghost
Copy link
Author

ghost commented Sep 22, 2022

Split apks do work but only for root. And we can not add apkmirror as source as it's third party.

What about making it so that the app mentions split apk's require root to patch and have it stop patching with an error saying "root not detected - split apk unable to be patched. Verify you have a non-bundled apk to patch with non-root"

@escape0707
Copy link

escape0707 commented Sep 22, 2022

I second this. Actually many people got confused when they patched over bundled APK but they force quit upon launch. That's a very odd UX because they won't directly learn which step is wrong before consulting at GitHub or discord.

Btw, I got insulted when bring up and discussing this suggestion at discord.

@Aunali321
Copy link
Contributor

Yupp already working on redoing dialog.

@Aunali321
Copy link
Contributor

Aunali321 commented Sep 22, 2022

"root not detected - split apk unable to be patched. Verify you have a non-bundled apk to patch with non-root"

Thing is we check root when they click on install as root. This helps to mount only individual apps while non root for others.

@ghost
Copy link
Author

ghost commented Sep 22, 2022

"root not detected - split apk unable to be patched. Verify you have a non-bundled apk to patch with non-root"

Thing is we check root when they click on install as root.

Yea after they spent several minutes patching the apk lol.

@Aunali321
Copy link
Contributor

Yea after they spent several minutes patching the apk lol.

There is no other way though. We can't have a universal settings toggle because you would have to change settings for every app.
But i want to reimplement it inspired by the above issue.

@Aunali321 Aunali321 reopened this Sep 22, 2022
@ghost
Copy link
Author

ghost commented Sep 22, 2022

Hm actually what if there's a change where the root check is done when enabling an option in settings called "Use root access" and if the option isn't checked the install with root option is hidden after patch completed and a message is shown saying "Root access is required to patch bundled apk files. Download another apk file that is not bundled"
Also the setting would be global so it'll affect all apps this manager supports.

@avarayr
Copy link

avarayr commented Sep 27, 2022

Please give some love to this issue :)) I ignored the warning prompt, my apps started crashing... but turns out it should've been a strict error prompt for nonroot.

@ILoveOpenSourceApplications

Isn't this achieved with #973 ?

@ILoveOpenSourceApplications ILoveOpenSourceApplications added the Waiting on author Further information is requested label Jul 16, 2023
@Ushie Ushie closed this as completed Jul 28, 2023
@ILoveOpenSourceApplications ILoveOpenSourceApplications removed the Waiting on author Further information is requested label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature that's not implemented yet
Projects
None yet
Development

No branches or pull requests

5 participants