Menu

#33 Bump targetSdkVersion

4.0
closed
None
2024-12-23
2023-04-06
mueller-ma
No

The targetSdkVersion is currently set to 4 which will make it impossible to install this app on Android 14: https://developer.android.com/about/versions/14/behavior-changes-all#minimum-target-api-level

Are there any plans to bump this version?

Discussion

  • John Mayer

    John Mayer - 2024-06-08

    Hi, I would be interested in this aswell. Also I'm willing to put in a view hours, seeing that there are still people enjoying the game. Do you have any thoughts about that? @gedakc

     
  • Curtis Gedak

    Curtis Gedak - 2024-12-21

    An updated beta release of SolitaireCG is available for testing.

    This release should work with Android 5.0 up to Android 14.

    To try it out visit the solitairecg-testing folder to download beta3.

    https://sourceforge.net/projects/solitairecg/files/solitairecg-testing

    Solitairecg-3.4.1-A14-api34-beta3.apk

    Feedback is appreciated in this SourceForge Ticket.

    BACKGROUND

    It turns out that meeting the Android 14 requirements was much more difficult than I would have imagined.

    • Android 14 requires that apps target Android 14's API level 34.

    • The SolitaireCG app was written to Android 1.6's API level 4.

    In the past the strategy of using a low API level provided backwards compatibility with many older Android versions. It worked well up to Android 13 (API level 33). Unfortunately this is not the case with Android 14.

    For over a month starting with API 4 I wrestled my way up from one API level to the next. The challenge involved significant effort to handle Android API changes that deprecate and remove key functionality. Along the way I had to rework important code features. Even so I had to drop some backward compatibility (now at Android 5.0 API 21).

    After much work I finally arrived at Android 14 API level 34 and I am pleased to share this beta release with you.

     
  • Curtis Gedak

    Curtis Gedak - 2024-12-21
    • assigned_to: Curtis Gedak
     
  • Curtis Gedak

    Curtis Gedak - 2024-12-22
    • Milestone: NA --> 4.0
     
  • Curtis Gedak

    Curtis Gedak - 2024-12-23

    This enhancement was included in SolitaireCG 4.0 released on December 23, 2024.

     
  • Curtis Gedak

    Curtis Gedak - 2024-12-23
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB