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(github-source): add KeePass2Android #441

Closed
wants to merge 4 commits into from

Conversation

AnonymousWP
Copy link
Contributor

Refers #395 (comment).

@rumboalla rumboalla self-requested a review September 10, 2023 11:58
@@ -83,5 +83,6 @@ val GitHubApps = listOf(
GitHubApp("com.shadow.blackhole", "Sangwan5688", "BlackHole"),
GitHubApp("com.zionhuang.music", "z-huang", "InnerTune"),
GitHubApp("com.nextcloud.client", "nextcloud", "android"),
GitHubApp("at.bitfire.davdroid", "bitfireAT", "davx5-ose")
GitHubApp("at.bitfire.davdroid", "bitfireAT", "davx5-ose"),
GitHubApp("keepass2android.keepass2android", "PhilippC", "keepass2android")
Copy link
Owner

Choose a reason for hiding this comment

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

As it is, this won't work properly. The releases contain 2 apks with different package names and there's no way to know which one is the correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume you're talking about the 2 different APKs that are included as asset here? One is the online version and the nonet version is the offline version.

It's simple: we can add an extra entry as they have different package names or am I missing something here? See here as well.

Copy link
Owner

Choose a reason for hiding this comment

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

That won't work because it will always retrieve the first apk. Some extra functionality needs to be added, like a mandatory string match on the filename.

Copy link
Owner

Choose a reason for hiding this comment

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

And on top of this, this app uses absurd version names that are not going to match properly.

Copy link
Contributor Author

@AnonymousWP AnonymousWP Sep 10, 2023

Choose a reason for hiding this comment

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

Hmm, so we can do two things regarding this PR:

  1. Wait until APKUpdater will get a feature to match the string, but that's up to you (in that case, leave the PR open)
  2. Close this PR because the version names don't make much sense

It's up to you.

@rumboalla
Copy link
Owner

Closing this one. The last commit added some changes to allow for cases like this.

@rumboalla rumboalla closed this Sep 11, 2023
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.

2 participants