No Branch/Tag Specified
master
i2p-android-2.8.0-androidx
2.3.0-translations
i2p-android-2.9.0
i2p-android-2.8.2
i2p-android-2.8.0-1
i2p-android-2.8.0
i2p-android-2.7.1
2.7.1
i2p-android-2.7.0
i2p-android-2.6.0
i2p-android-2.5.1
i2p-android-2.5.2
i2p-android-2.5.0
i2p-android-2.4.2-test
i2p-android-2.4.1-test
i2p-android-2.4.0
i2p-2.3.0
android-2.2.1
i2p-android-2.2.0
i2p-android-2.1.1
android-2.1.0
android-2.0.1
android-2.0.0
android-1.9.0
i2p-android-1.8.1
android-1.8.1
android-1.8.0
android-1.7.1
android-1.7.0
android-1.6.1
android-1.6.0
android-1.5.0
android-0.9.50
android-0.9.49
android-0.9.48
0.9.48
android-0.9.47-1
android-0.9.47
android-0.9.46
android-0.9.45
android-0.9.44
android-0.9.43
android-0.9.42
android-0.9.41
android-0.9.40
android-0.9.39
android-0.9.38
android-0.9.37
android-0.9.36
android-0.9.35
android-0.9.34
android-0.9.29
android-helper-0.9.3
android-client-0.9.29
android-0.9.28
android-helper-0.9.2
android-client-0.9.28
android-0.9.27
android-helper-0.9.1
android-client-0.9.27
android-0.9.26
android-client-0.9
android-0.9.25
android-client-0.8
android-0.9.22
android-0.9.20
android-client-0.7
android-0.9.19.1
android-0.9.19
android-client-0.6
android-0.9.18
android-client-0.5.1
android-client-0.5
android-0.9.17.1
android-0.9.17
android-client-0.4
android-client-0.3
android-0.9.15.1
android-0.9.15
android-client-0.2
android-0.9.13-0_b2-API8
android-0.9.13-0_b1-API8
android-0.9.12-0_b1-API8
android-0.9.11-0_b1-API8
android-0.9.10-0_b1-API8
android-0.9.9-0_b0-API8
android-0.9.8.1-0_b1-API8
android-0.9.7.1-0_b4-API8
android-0.9.7-0_b2-API8
android-0.9.1-0_b1-API8
android-0.8.7-4_b1-API8
i2p-0.8.6
i2p-0.8.5
i2p-0.8.4
i2p-0.8.3
i2p-0.8.2
i2p-0.8.1
i2p-0.8
i2p-0.7.14
i2p-0.7.13
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2_2
i2p_0_3_2_1
i2p_0_3_2
i2p_0_3_1_5
i2p_0_3_1_4
i2p_0_3_1_3
i2p_0_3_1_2
i2p_0_3_1_1
i2p_0_3_1
i2p_0_3_0_4
i2p_post_great_renaming
i2p_0_3_0_3
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: I2P_Developers/i2p.android.base#1
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current minSdkVersion as set in app/build.gradle is 21, last changed in late 2022, it was 14 before that.
21 is Lollipop, released November 2014. This version is equivalent to Java 7, except it is missing java.nio.file. By supporting Android 21, we cannot use any Java 8 features in core, router, i2ptunnel, and other subsystems used by Android. The user base of people with 11 year old phones is vanishingly small.
I propose we increase it to one of the following, depending on what Java features we'd like to use:
24 (Nougat, released August 2016): Some Java 8 features including java.util.function
OR
26 (Oreo, released August 2017): Most Java 8 features, and Java 7 java.nio.file.
OR
28 (Pie, released Sept. 2018): Pretty much full Java 8/9
In addition to changing the build.gradle file, you'd have to adjust your build to switch to Java 8 compiler, and do some testing. Let's have a discussion about it.
The Jetty 9 EOL doesn't affect android, but may cause us to bump our desktop min Java to 17. If so, maybe we should bump android all the way to API 30 (R, Android 11.0, released Sept. 2020) which would allow us to use Java 11 features throughout.
If Java 17 is likely to be required for desktop, then my vote actually goes to API 30 for the Java 11 features and to make things a little simpler to keep up-to-date. I had been very cautious in the past, but it means carefully keeping track of the versions of all the gradle plugins that Android Studio uses. Moving to Java 11 would allow me to use some of the Android Studio tooling to keep that up-to-date. Instinctively, having Desktop and Android using the same Java version feels like less to keep track of.
However, if it's Java 8 or 11 for the desktop instead, the same basic argument would apply there, and I would choose 28 instead for the more-or-less complete Java 8 featureset. It will still be simpler to keep up-to-date.
As you said, there are very few people using 11 year old phones now, even aftermarket phones have long-surpassed that place. It's probably an exercise in futility to be as conservative as I've been. Moving forward would be better.
I'm going to start with a branch to look into Java 8 upgrades. I've actually tried this a few times before, using the Android Studio tools for this purpose. It may be mostly automatic IIRC.
Another point for Java 17: If I can use Java 17, I can use GeckoView, which means I can use it to replace the existing embedded browser, which currently does not support CSS, most types of images, actually most things.
I did not propose Java 17 for Android (U, Android 14, API 34) which was only released late 2023. That would knock out all the phones I own and I suspect a lot of other people.
My most ambitious proposal in my 2nd comment was to API 30.