FrameXX

joined 2 years ago
[–] FrameXX@discuss.tchncs.de 2 points 1 week ago (1 children)

Are you allowing notifications for background apps?

I do. However permanent notifications was usually a workaround on OEM modified versions of Android that had a more agressive process killing policies and on stock Android this usually wasn't needed at all. And many apps which use push notifications don't run a constant background service, but instead run some checks at regular intervals like e-mail apps. I use K-9 mail which checks e-mails every hour and I stopped receiving notifications after the Android 15 update.

I reflashed the ROM yesterday with a newer nightly build and used Basic NikGapps instead of MindTheGapps so I will see if the situation gets better. For now I seem to be receiving notifications from Protonmail, but that may be only because their app is maybe using Google play services for notifications.

[–] FrameXX@discuss.tchncs.de 1 points 2 weeks ago

I am running 22.2-20250714-NIGHTLY-surya.

19
submitted 2 weeks ago* (last edited 2 weeks ago) by FrameXX@discuss.tchncs.de to c/android@lemmy.world
 

I updated my device to Lineahe OS based on Android 15 after I have been using Lineage OS based on Android 14 for a while. I don't know if this is a common issue with Android 15 or it's only with Lineage OS or my installation is sonewhat crippled (I did clean flash and I already reinstalled once), but the OS is very aggressively killing apps compared to Android 14 to the point it is annoying.

Example

In Android 14 if I started a download in the browser, the browser would display a permanent notification that it's downloading and if I swiped away the browser from recents the download would continue. In Android 15 the downloading stops immidiately after I swipe the browser from recents.

And that's not the only problem. Background services like my companion watch app don't work properly because it seems they get killed in the background and messaging or e-mail apps sometimes seem to have the same problem. I tried disabling battery optimizations for these apps, but it doesn't seem to help at all.

Does anyone else experience similar issues with Android 15?

[–] FrameXX@discuss.tchncs.de 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I will be honest that I don't know what exact shit are we discussing here I rather wanted to point out that Apple might not be as much privacy first company as they like to present themselves.

[–] FrameXX@discuss.tchncs.de 2 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

I can't. Everything they release is proprietary and locked down, so let's just trust their narrative.

I can only recommend well researched eyeopener from Techaltar: https://youtu.be/JHnBOUNxHsw

[–] FrameXX@discuss.tchncs.de 1 points 1 month ago* (last edited 1 month ago)

It makes sense if your phone is well supported in the custom ROM comunnity and doesn't receive feature or security updates from the manufacturer anymore. I am already 3 Android versions past the last supported Android version by the manufacturer thanks to community maintained ROMs. (Xiaomi Poco X3 NFC).

[–] FrameXX@discuss.tchncs.de 3 points 1 month ago

Google play services is a monolith, that does a plethora of stuff on the phone, including features like quick share, location services, various Firebase APIs for instant notifications stuff, find my device and whatnot, so I think the size is pretty reasonable.

[–] FrameXX@discuss.tchncs.de 5 points 1 month ago* (last edited 1 month ago)

The newer Android versions aren't that much more bloated. Sure. If you compare Android KitKat with Android 14 it is gonna be a bit more demanding probably especially on graphics, but overall there were a lot of improvements to the battery usage and memory management over the years and I have an experience of newer Android versions running better than the older ones. You can have a 6 years old phone that will run the newest Android version just fine because you flashed it with a custom ROM.

When we get to the manufacturer's custom Android skins... Well that's a different story. Most of them are gonna be more or less bloated than stock Android, but this is a problem of manufacturers and the fact that mobile OS market and ecosystem is so much locked down compared to desktop, which makes it harder to remove manufacturer's bloat from your OS, install different ROMs and tinker with it, rather than Android being bloated as an OS.

[–] FrameXX@discuss.tchncs.de 1 points 3 months ago* (last edited 3 months ago)

You could license it under the (A)GPL, charge for downloads in the Play store or for compiled binaries on ur website and ask for donations on F-Droid.

You could even do a freemium version where some features are locked in the binaries you distribute and need a license from ur website or smth (for those who don't want to use Google Play). (iirc SD Maid 2/SE does this)

Someone else could just compile the app themselves, unlock all premium features and distribute it to play store without violating the license?

[–] FrameXX@discuss.tchncs.de 13 points 3 months ago

Chrome or Chromium project?

[–] FrameXX@discuss.tchncs.de 3 points 3 months ago

Do the "right" thing.

[–] FrameXX@discuss.tchncs.de 8 points 4 months ago

If you like VSCode you can try VSCodium which supports almost all features of VSCode but should be fully FOSS without Microsoft proprietary blobs.

 

I know this is probably a primitive topic for most, but I just got into coding in c++ because a simple project I am working on that uses esp8266 which can be programmed using c++. Before this I only had experiemce with python, javascript and typescript.

Now to my problem: I am trying to split my code that is getting longer into multiple files.

I already think that I understand right that each library has a header (.h) file and source (.cpp or .c in case of c) file. The first thing I already have problem with is that as you are defining your functions and classes in the header file and then implementing them in the source file you are repeating yourself with the declarations which is not something I would like. I presume that most IDEs will probably automatically help you with generating or editing the header file automatically as you change code in the source file and I guess I will need to learn to live with it.

Then there's the thing with importing. It may happen that if you create a library it also has some dependencies that it needs to include. But as far as I understand one library shouldn't be included multiple times. So from what I can see most libraries check whether a global variable with an ARBITRARY name that the library chooses itself is not defined and then if that's true it defines that variable to indicate it has been included (the name of the variable is not compketely arbitrary and usually follows LIBRARY_NAME_H but the convention cannot be really relyed on). When the library includes other library it also needs to check whether the variable of that library that is defined on its import is defined. The main file should also probably check this for every library it includes because it can't know what lins were already imported by libs it imported? Am I getting something wrong or is it sometimes ok for some libraries to be included multiple times. There's the #pragma once to handle these situations?

view more: next ›