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

Android 14 #51

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

gerhardol
Copy link
Contributor

@gerhardol gerhardol commented Jul 31, 2024

An update of the application targeting Android 14 instead of Android 10, required for Play updates.
This involves a lot of changes required for instance due to scooped storage.
There are a few fixes as improvements too.

Some special notes:

  • Strava segments handling hidden (code should be removed). 3rd party access was removed May 2020.
  • Strava upload hidden. Current key has expired and uses rainer-blind website.
  • Dropbox login expires after an hour or so. This is likely requiring access/refresh token, could maybe be adjusted in the Dropbox account too.
  • TrainingPeaks upload is unchanged (I have no account and the trial is limited to two weeks only).

You may test this by building yourselves, a binary is also available here:
https://github.com/gerhardol/aTrainingTracker/releases/tag/vAndroid-14-240731
This identifies as com.atrainingtracker.debug and is installed in parallel to the Play version

Note: This PR should not be squashed, merge commit or rebase to retain the individual commits.

Mostly .toString(), final
Popup at start is not changed, but if ANT+ dependencies are not installed,
the install items are not shown.
Update dependencies
Remove unused
In exported files, compatibilirty.

For for string.format(), use DefaultLocale
Some may need to be set to US.
for left to right layouts
Partial only, many remains
intent for android.net.conn.CONNECTIVITY_CHANGE is not supported since Android 7.0/N
Use function to avoid that the analyzer removes all debug control in cleanups.
A few lint fixes
Access removed for 3rd parties years ago
IntentService is depracated in Android 11
and requires workarounds for Android 8 and up.
AsyncTask deprecated in Android 11

Also fixes WrongThread issues
New and update permissions handled.
To allow access from other apps and filehandlers.

For pre Q, files are stored below android/ as before,
no storage permissions is required (since 4.4).
bump version
Update lint suppressions
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.

1 participant