Giter Site home page Giter Site logo

Comments (11)

darshan- avatar darshan- commented on June 16, 2024 1

Thanks for the suggestion! That's not something I would have ever thought of, as it's not something I've ever run into, but it makes sense. I've added it to my to-do list. I'm quite busy with other things at the moment, so I'm not sure when I'll get to it. But it's an easy thing to add, so it should make it into the next update, whenever I do that.

from battery-indicator-support.

Eloston avatar Eloston commented on June 16, 2024 1

Awesome! Unfortunately, I've since switched to a new device, a new environment, and upgraded to Android 8.1. If I ever run into a similar situation, I'll know what to use ;)

Thanks for following through on the issue!

from battery-indicator-support.

robinpaulson avatar robinpaulson commented on June 16, 2024 1

Great, thanks for the info darshan and keep up the good work. Robin

from battery-indicator-support.

ildar avatar ildar commented on June 16, 2024 1

from battery-indicator-support.

darshan- avatar darshan- commented on June 16, 2024

Okay, I just added this to the app. The update should be out in the next few days for devices running Android 8.0 and up. I don't think I'll support this feature old older versions of Android unless you, as the filer of the issue, let me know that you're still using older Android, in which cases I'll make that happen. (For the overall Android ecosystem, 8.0+ is relatively small still, but for this app it's pushing 50% of my users.)

from battery-indicator-support.

ildar avatar ildar commented on June 16, 2024

from battery-indicator-support.

darshan- avatar darshan- commented on June 16, 2024

Due to major changes in Android's notification system, it's significantly easier for me to maintain the app with minSdkVersion 26 for new features at this point. Backporting this feature to the build for older devices is feasible but not something I have time for right now while I'm extremely busy with other things. I'll seriously consider adding it when I have a bit of spare time. Thanks.

from battery-indicator-support.

robinpaulson avatar robinpaulson commented on June 16, 2024

It'd be interesting to set minsdk to 23, but include the new features which require API 26. It could then gracefully fall back if the new feature is not available, while still partially supporting older SDK versions. Is this possible at all in Android?

from battery-indicator-support.

darshan- avatar darshan- commented on June 16, 2024

Yeah, that's how it works in general. The difference here is that Google has a new policy requiring apps to target 26 now, which has significant changes to how notifications work. It was much, much less work for me to handle this by having two builds now. One for 16+ and one for 26+. Both are maintained and supported with security and bug fixes, but feature development happens for the 26+ version. It's quite feasible to backport small features like this to the 16+ version when I have some spare time.

from battery-indicator-support.

ildar avatar ildar commented on June 16, 2024

from battery-indicator-support.

darshan- avatar darshan- commented on June 16, 2024

Version 10.0.4 is the API level 16+ track, which is where we're talking about backporting this feature at some point. If you're running Android 8.0 or higher, please use version 11.0.2, which is where this feature currently exists. Thanks.

from battery-indicator-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.