-
Notifications
You must be signed in to change notification settings - Fork 137
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
Downloaded package ID does not match existing App ID #103
Comments
Could you be more specific? Both repos work fine for me. |
Ok, that makes sense. The transition from v0.5.10 to v0.6.0 involved a change in the App ID format, so for a while, changing App IDs was allowed so that people could upgrade to v0.6+. But being able to change the App ID upon install is a security risk, so it was disabled in version 0.6.9. I thought there was enough time between v0.6.0 and v0.6.9 that no one was likely to run into this error, guess not. To fix this, you'll need to remove these Apps and re-add them. This is easy enough if you use multi-select then pick the share URL option, then import the URLs back in. The other option is to install a version of Obtainium between 0.6.0 and 0.6.8, then update all Apps, then upgrade to the latest version again, but that's more complicated. |
Tried both,still doesn't want to work. Guess I'm staying in v0.5.10 |
Sorry, I didn't realize this also affected App imports. It should be fixed with the latest version: https://github.com/ImranR98/Obtainium/releases/tag/v0.6.11-beta |
Apart from the minor inconvenience of having to import this repo twice, one for twitter and the other for reddit with having to mark Reddit as updated (to follow that repo's naming scheme), everything works flawlessly!! Thanks for the fix sir. Also would be cool if you kept the material design 3 type switches like you had in the earlier releases :) |
This is still occurring with Nextcloud Talk on version v0.13.8-beta of Obtanium. |
This is happening because the apps build.gradle is declaring more than one package id (which i didn't know was a thing). In this case obtainium picks the last id which is wrong. There is no way to tell an advance which id is the right one to use so for such cases you should turn off the "infer app id" toggle at the bottom of the add app page. That said, the package ID at the top of the file is usually most likely to be the correct one and obtainium currently picks the last id it sees. I'll reopen the issue to remember to correct this later since that will reduce the chances of running into this error. |
Just to keep things entertaining :) You may want to enable that toggle when a program has already been added to Obtanium under the edit menu, as it is not there. |
@ImranR98 Turning of "infer app id" indeed seems to have solved the problem. However I have no idea what this means and its potential consequences. I also did not understand what you meant by toggling on after install (I went into edit, but could not find the infer app id setting there). Could you elaborate? PS. This seems like a very nice project. I have just migrated from iPhone so I'm still unfamiliar to this new ecosystem but I hope that this app will resolve some of my questions and become a trusted companion:) |
@einarpersson an app's ID (the unique identifier the app gives to the OS) must be known before it can be added to Obtainium. "infer app id" just means that obtainium will try to figure out the app's ID before downloading it (by looking at the app's code on GitHub). When this is turned off, the app will be downloaded and its ID will be extracted from the APK directly. So turning this off has no negative impact - it just means that adding the app will take longer (as it must be downloaded first). |
I've the same story as @einarpersson, but with KeepassDX 3.5.1. Disabling |
Leaving a note for later: if this error occurs the first time an app is installed and "infer app id" was enabled on add, the error should not be displayed - just quietly update the id instead. |
Thank you! |
Used to be that until v5.10,I could update my apps with relatively no issues. However,the new method you're using breaks the app.
I use this repo to get twitter and reddit revanced and it just doesn't work from v6.0 (when the new method was introduced).
Heck,even this doesn't work anymore.
The new method is cool and all but it would be greatly appreciated if you could get those 2 repos to work as they used to until v5.10.
The text was updated successfully, but these errors were encountered: