diff --git a/app/src/main/java/org/fdroid/fdroid/data/App.java b/app/src/main/java/org/fdroid/fdroid/data/App.java index 9977fe3f4..66d4009e9 100644 --- a/app/src/main/java/org/fdroid/fdroid/data/App.java +++ b/app/src/main/java/org/fdroid/fdroid/data/App.java @@ -150,6 +150,14 @@ public class App extends ValueObject implements Comparable, Parcelable { public String flattrID; public String upstreamVersionName; + + /** + * The index-v1 metadata uses the term `suggestedVersionCode` but we need that + * value to end up in the `upstreamVersionCode` property here. These variables + * need to be renamed across the whole F-Droid ecosystem to make sense. + * @see issue #1063 + */ + @JsonProperty("suggestedVersionCode") public int upstreamVersionCode; /**