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

bug: Update option #890

Closed
4 tasks done
ILoveOpenSourceApplications opened this issue May 24, 2023 · 5 comments · Fixed by #932
Closed
4 tasks done

bug: Update option #890

ILoveOpenSourceApplications opened this issue May 24, 2023 · 5 comments · Fixed by #932
Labels
Bug report Something isn't working

Comments

@ILoveOpenSourceApplications
Copy link

ILoveOpenSourceApplications commented May 24, 2023

Type

Error at runtime

Bug description

When we're opening the manager, the manager shows the update option which is clickable for a split second. Upon clicking you get the update pop-up and you're able to install the same version over and over again.

Steps to reproduce

Step 1: Make sure to close the manager.
Step 2: Open the manager and be quick enough to click the update option.
Step 3: You can go into a cycle of installing the same version if you're into it.

Android version

Android 13

Manager version

1.2.0

Target package name

ReVanced Manager

Target package version.

1.0.0 and above I believe

Installation type

Non-root

Patches selected.

Nil

Device logs (exported using Manager settings).

Nil

Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].

No response

Screenshots or videos

Video:

screen-20230524-130013.2.mp4

Screenshot:

Screenshot_20230524-125818

Solution

No response

Additional context

No response

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
  • The issue is related solely to the ReVanced Manager and not related to patching errors or patches
@ILoveOpenSourceApplications ILoveOpenSourceApplications added the Bug report Something isn't working label May 24, 2023
@sFeri01
Copy link

sFeri01 commented May 24, 2023

Yes, the apk on the github release page also installs 1.2.0

@SpL1Ne
Copy link

SpL1Ne commented May 31, 2023

1.3.0 Still there. After clicking update button it becomes disabled.

Screenshots

Screenshot_20230529-145803
Screenshot_20230529-145810
Screenshot_20230529-145816
Screenshot_20230529-145827

@YarosMallorca
Copy link
Contributor

YarosMallorca commented Jun 8, 2023

This issue seems to be fixed on the main branch.

Video:
https://drive.google.com/file/d/1xsXpb9f72ktn57sDPDJ2kN4hieqp6y9Y/view?usp=drivesdk

Edit:
It is still reproducible on slow internet connections. I'll look into it.

@ILoveOpenSourceApplications
Copy link
Author

ILoveOpenSourceApplications commented Jun 8, 2023

Edit: It is still reproducible on slow internet connections. I'll look into it.

Didn't have to do us like that. But glad that you were able to reproduce the issue.

TheAabedKhan added a commit to TheAabedKhan/revanced-manager that referenced this issue Jun 11, 2023
The _latestManagerVersion returns empty string when comparing to the currentVersion. So, calling the _managerAPI.getLatestManagerVersion() before comparing fixes the logic and boolean is returned accordingly.
@validcube validcube linked a pull request Jun 11, 2023 that will close this issue
@validcube
Copy link
Member

🎉 This issue might have been fixed in #932, please wait for the next release of ReVanced Manager!

GitHub issue/pull request detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants