-
-
Notifications
You must be signed in to change notification settings - Fork 776
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
App is not actually installed (yet) when manager says so #819
Comments
This causes some people to wonder where the app went because it said it was installed but they don't see it in the app drawer |
The app does not already need to exist on the device for this bug to occur. It always says "Installed!" when the install button is pressed, even if the package name does not exist on the device. But the timestamp solution will still be useful when dealing with app updates, (although wouldn't a hash check be simpler? Idk these things though 🤷) Also, if the user exits the manager app while the package installer pop-up prompt of "Do you want to install/update this app?" is present, the pop-up will disappear. And upon re-entering the manager, the manager will just say "Open" and makes it seem like it has been successfully installed. Although the pop-up disappearing can be blamed on the package installer, the "Open" button and the "Installed!" text should not appear unless the app has indeed been installed. Screen_Recording_20230523_140609.mp4 |
There's no need for a hashmap, timestamp in the version code or anything of the likes of that, Package Manager will return a callback with the result of the installation |
What if the user decides not to use package manager, but sth like SAI or Shizuku to install? |
Same here, also if the user already has a older YT Revanced installed and the installation fails (for signature mismatch), then the app assumes it was installed and crashes the installation view upon click open. Maybe you should make sure that the application installation process actually went through |
🎉 Fixed in #1021 and released in ReVanced Manager v1.4.1 If problem persist, feels free to reopen this issue! |
Type
Error while running the manager
Bug description
Manager does not check if the installed version is the one patched just now
Steps to reproduce
Android version
13
Manager version
0.1.0 (or is it 0.1.1?)
Target package name
com.google.youtube
Target package version.
18.15.40
Installation type
Non-root
Patches selected.
Not relevant
Device logs (exported using Manager settings).
Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].
Screenshots or videos
Note that the red text have been translated into English
Solution
When patching, also modify the version code to include the UNIX timestamp or a nonce. Like changing it from
18.15.40
to18.15.40-1682669613
. This way, RV manager can check it against the expected one and know if the new one is installed or not, instead of displaying it when the button is pressedAdditional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: