-
Notifications
You must be signed in to change notification settings - Fork 318
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
Bump minSdkVersion to 16/19 #881
Comments
Yeah, it's nearly a year has passed, since I said, that the next release wont support Android 4.0 😄 And since that, I just postponing the jump - however, there are more compelling reason to do it, as ExoPlayer after 2.9 requires SDK 16, and with that, I could implement subtitle support relatively easily. |
Hell No !!! BTW - v2.976 crashes for some reason when i'm trying to play the latest XDA upload (no issues with 2.974 and 2.975): Also please add a option to disable the update check, or just show it once on every new version and to not show up 'till the next. To have a support E-Mail address, instead of writing a issue here for absolutely everything will be nice (there's no PMs or anything here, so I hope that you see my point of view) ;) |
I'm not an Android expert but shouldn't it be possible to set the
I guess it's easier for the developers to discuss bugs/feature requests in public instead of repeating it in every private mail ;) |
Unfortunately there is no forum in github, so there is no better place to discuss development related questions, other than the issue tracker. But at least, it's fully public. Unfortunately, as there is no such a thing, what we could call as 'Skytube developer team', there hasn't been any need to have a developer-email list, for example.
As I neither have unlimited free time, nor such an old device (and recently my commute time is 0, so I use the app much less), it's not my priority to keep Android 4.0 compatibility alive. If we gain something with raising the minSdk level, I wouldn't oppose it. Currently, I know one advantages of API 16, is to have newer ExoPlayer. |
So since I don't have much time in replying in much details, I will try to address as much as possible here, on one place, tho I will\may edit or post (comment) again to add something if there's a need, like if I forgot something.: As I mentioned - sometimes \ in some situations and for some things the 1 and only way to communicate here being like this is disadvantage (an issue), not everything should\must be public. It won't hurt if we have\had a direct chat of some sort, or even better - being able to private-message someone. You didn't mentioned anything regarding my suggestion, nor addressed it - the one to add a option to disable the update check, or refine it !
If you can, please do build \ compile and push the .apk(s) faster, so I can test it and report sooner if something's wrong, since I use old (ancient) garbage devices with OS vers. that vary between 4.0.3-4.3 anyway, so I can test at least on 4.1.2 and 4.3. I thought (think) that 4.3 JB and lower\older natively supports TLS 1.2 and lower, 4.4 KK has some limited support for 1.3, but in\since 5.0+> is fully supported \ functional... I would very much like to hear more about the replacing (updating) the system's native libraries with root access - please...! I don't see a need or point in\to updating the SDKs (and\or dependencies) and as I mentioned - I am against that. |
I still don't know what kind of discussion should happen in private? Could you please explain it? I can assure you, that replying to direct mails wont be faster - from my side 😄 |
One thing, what I've missed: after every commit, Github builds debug APKs, which you can try it, for example the latest is here: https://github.com/ram-on/SkyTube/actions/runs/474665010 |
So, I don't know if you can completely delete an issue, or just close it, but there might be things that lets say I don't want to post publicly so\that anyone can see; are not "issues" at all to be posted\presented like this, or in situations where someone forked a git and made some changes for himself, but his E-Mail is not shown in his profile\account page and the "issue" tab is not shown, is disabled or not allowed - currently you can't contact this person at all... Let's say I heve like 6 ideas\suggestions, I don't want to create a different issue for each of them, as I already did a mega thread with couple of them on one place, but nobody cares and I even mentioned one here, but you keep ignoring it and pretending that you didn't saw it, no matter how many times I ask you to comment \ give your opinion or act on it (I'm obviously talking about the one to disable the update check). I can't explain the TLS thing better (ENg isn't my native language), but I didn't say that this app has any problem with it currently, I just commented on it, because you mentioned it 2 times - here and at least in other issue. Since I'm not an expert either, I asked you about the replacement of the system libraries on low-level, enabling the newer network protocols (TLSv1.3) on old android, instead of doing it in a app (on app bases), because you mentioned it, also I don't know what exactly I need to search\look for in XDA or wherever. To be clear - I'm not talking about rooting at all, not asked for that, since you seem to got me wrong I thing, and this is already done, I'm already 'tickering' with the system as you said - for years now. I never use subtitles in YT, but you can still implement them in a new player that will work as you mentioned on API 16+ and will just be hidden or disabled for 14 and 15 - I've seen that before on other apps, so there's no need to increase the SDK globally for the whole project, but just for the feature you want, in this case - a new 4th player (along the other already existing build-in ones). You see, if you bump\upgrade the minSDK\API required, some will be stuck with the latest version that is compatible with their devices, but for how long is the question, as it will eventually stop working, because no one will be fixing it anymore with the newer patches and fixes that are constantly needed because Google\YT keeps playing with their code, for no reason in most cases, only to make life harder for some, and in order to keep supporting it yourself by forking it, you need a lot of knowledge, which BTW I don't have - no programming skills, nor I know any computer language, only 2 human's :D Honestly I barely know how to use GitHub, but I found the deeply buried debug build a couple of hours ago, right after I commented here. BTW - why don't you add a resolution changing button while you watch\the video is playing (just like NP), so you can bump or drop the rez. depending on the video or situation\case, instead of putting couple of confusing and kind of a bit pointless separate options in the settings for the same thing ?, this will be extremely convenient... |
I see, fair point, maybe there could be sensitive things in a bug report, I haven't thought about it. Sorry, I only see that you opened one ticket: https://github.com/ram-on/SkyTube/issues?q=is%3Aissue+author%3Adrogga where I've answered - and asked back for clarification, without response. And I can't find where else have you commented: https://github.com/ram-on/SkyTube/issues?q=commenter%3Adrogga which I've missed. It's certainly a possibility, I don't remember every comment and commenter, especially when there is no name/face/code to attach to it 😞 |
@drogga : I have a feeling, that you vastly underestimate the needed energy and time for software development. When you see a 3 liner change (for example my two changes in the last days), it is not a result of 2 minutes of work (sometimes, it was really two minutes of work, when I see something, which is obviously wrong, but it's rare), but more often it's coming from a half-hour - a hour long debugging session, when a developer tries out multiple things, and watch it falling apart. When you - or any user - request a new feature or a new switch, whatever, there will be development effort to actually implement that change, and later a maintenance cost, which will hinders further development, which hurts developers, and in the end, the users too. |
I won't underestimate the needed effort anymore. Thanks and have a nice day/night, cheers. Oh, and I decided to wait for the next version, then I will reply to you in my topic, cuz most of the things might've been fixed already anyway. Some are. |
@gzsombor Perhaps you could make a branch (or a separate repo in the SkyTubeTeam organization) for legacy minSdk 14 support and just backport non-API related/influenced bugfixes and features to it (and then someone like @drogga can just install the github builds for that branch in [actions[(https://github.com/ram-on/SkyTube/actions)). If we did it this way, we could move forward with minSdk 16 in the main branch/project and take advantage of newer ExoPlayer and whatever else could be done around the project. Speaking of which, will you eventually be moving this repo to the SkyTubeTeam organization? |
I don't own this repository, I'm not admin here, I can push - maybe - 3 more buttons than you 😉 But yes, having a separate github repo could solve the issue with the least amount of pain. |
@gzsombor I forgot 😅, I guess we just have to hope that ram-on is still active and would agree to moving the repo. |
I disagree with pulling the plug on android 4.x |
Sure, please, start sending patches! |
@BugReportering
Geez, that's a bit blunt, don't you think? 😄 The onus isn't all on the devs here. Android can be pretty finicky. Android development design itself in its earlier days wasn't the greatest. The development tools have carried quite a lot of rather poor programming/design baggage into the current day due to the load of overhauling it would take to completely rewrite it, although it is being improved little by little. Basically what I'm saying is that the lower the API that is supported, the more workarounds and other things like that that have to be created to be able to get it to work properly on basically every device (including newer devices, which suffer more technical debt because of the workarounds required to also support older devices).
You mean "haven't been fixed yet", right? It's not necessarily that the devs don't want to fix them, it can also be things like lack of time, personal life stuff, etc.
I agree with @gzsombor :) |
After doing some experiments with build flavors to have a separate legacyOss and legacyExtra versions, I have to say, it quickly become very complicated and painful: |
You can probably even bump it to 33 (A.13), but that won't change anything other than only a few will be able to install it, because let's face it, the problem here is that there's no interest in this app, it's not popular and basically no one seems interested in contributing with a code to the project/app, even you (not having time for it is a big issue and I understand it completely) and I've seen your test builds in your fork and even wrote what I think about that, but in one of my unrelated forks of other projects, where I created an "issue" and tagged you, but you didn't gave any indication that you even read it and now I don't remember what I wrote here or there, because it was a long time ago. |
I usually get a lot of github notification, and I do not read everything... Sorry, I will try to find it...
|
@gzsombor I agree with what you said. I think it would be true to say that every Android dev has a love-hate relationship with it. @drogga I'm going to echo what I said in NewPipe for here. |
Look, there are many (small, significant or not) things that are broken since long ago, somethings always were, but those won't and can't just magically fix by themselves, someone needs to do the work manually, increasing \ bumping APIs, dependencies and what not, won't fix those, they will still be broken, like the (pull-down-to) refresh. |
This is just how Android works, unfortunately: the Android SDK is bound to the Android API. Once a device stops receiving updates, the apps installed on the device can only use the API features available on that version of Android. Work for devs becomes increasingly harder when supporting increasingly older devices because they cannot use (or have to find workarounds for/add extra code for) new/improved API features.
Believe me, this isn't the case very often. Workarounds can take quite a lot of time to figure out - time that not all developers have or are willing to spend in that manner (might I add, for such a statistical outlier - see below chart). That's why bumping the minimum SDK is being considered in the first place.
Yep, and for good reason (see all of the points brought up above). Also see this OS statistics chart. |
...I don't believe that you are even using the app, I mean not really, so IDK why are you even care..., I use it every single day, that's my access to YT, please just cut the BS about API improvements, security and so on, everything did go to sh!t with Android, if you haven't, go ahead and read about the Android/data and /obb (even /media) access with third party file managers in A.13, android becomes worse than iOS and those that agree with every stupid decision Google makes are just the worse. Don't you dare showing me charts or base you personal opinion and believes on those, since considering all the restrictions and only a few if any improvements or benefits, that are really and truly meaningful and useful, there's a reason on why people want to stay on older versions, like 11, 12 and up (12, 12L, 13) are the crappiest ever, there are all kinds of problems with those, especially in/among the modding community, which without, Android is nothing, like iOS, which I suspect in 10 years will be better and superior than Android. I can update to 12 and probably in a few weeks to 13 on my Samsung, but I don't want to, since those are the worse ever. |
I apologize in advance if I got anyone offended in any way with my texts and writing style, this is definitely not my intention. |
It's here: #1115 |
Regarding this:
And seeing how the app on those versions seems to be super unstable, I'm wondering if it's time to pull the plug on support <16 (and perhaps even <19).
There's really only so much we can do at this point for such users, and it seems that their user experience is already subpar (with crashes and such). I'd recommend at the very least bumping the minSdkVersion to 16.
The text was updated successfully, but these errors were encountered: