110
submitted 5 days ago by pathos@lemmy.ml to c/opensource@lemmy.ml

I want to replace Google Play Services already on my SSG. Just wondering if there's an app that will push all the notifications...

top 24 comments
sorted by: hot top controversial new old
[-] haverholm@kbin.earth 69 points 5 days ago

I'm not sure what you're asking. There is microG that spoofs Play services to apps. That's been around for several years.

You can also find open source push notification apps on f-droid. Some of those might require a self hosted server, while for example Sunup uses Mozilla's server.

Whether those work on your device probably depends on your ability to root it 🤷

[-] beyond@linkage.ds8.zone 16 points 4 days ago

microG replaces the Play services application on your device, but it's still going to be dependent on Google servers if you are using push notifications. There's no way around that unless the app supports a non-Google alternative such as UnifiedPush or even just a web socket.

[-] haverholm@kbin.earth 12 points 4 days ago

Yeah, as I said earlier it wasn't completely clear to me if this was only a question about push notifications or just all-round play services replacement. That is why I also mentioned SunUp which uses UnifiedPush.

[-] ReversalHatchery@beehaw.org 5 points 3 days ago* (last edited 3 days ago)

others have mentioned microG, but if that does not answer your question it may help to concretize what services you need from the google services stack. this page has a table on what services did the microG project implement so far, it may help in deciding on what exact services do you need

for push notifications I recommend ntfy or another UnifiedPush-based solution, but be aware that ntfy's official instance but probably the mozilla instance too is being hosted in the USA. if that's a problem, the ntfy app let's you set a custom ntfy server (find a public one or host it yourself), and all apps should handle it without difficulties which register at the Ntfy app after you made this change.
with UnifiedPush, there's no central point of failure like with google firebase, all services get told where to send the notifications, and that is determined by the "UnifiedPush Distributor" app on your phone (of which the Ntfy app is an implementation, along with SunUp and NextPush, they are also distributors)

[-] HyperfocusSurfer@lemmy.dbzer0.com 28 points 5 days ago

A small addition to already mentioned stuff. There are multiple ways to deliver the notifications without google services. 1st and older one is by simply letting the app hang in the background indefinitely and ping the necessary servers from time to time, that one almost always works, since app developers can't really rely on gapps being installed; 2nd is UnifiedPush (that's already mentioned sunup [mozilla], but also ntfy [ntfy], nextpush [nextcloud], gCompat-UP [google firebase], NoProvider2Push [fully local]). AFAIK, it works similarly to the way gapps send notifications and uses less battery, but not all apps support it, so you may need to search for forks. For example, the official and, iirc, Foss telegram clients don't, but mercury, nagram{,x} and momo do.

[-] haverholm@kbin.earth 6 points 4 days ago

NoProvider2Push is a good call! Haven't paid attention to that, thanks!

[-] pathos@lemmy.ml 1 points 4 days ago

Thanks!

Seems that SunUp is a nice one stop shop, whereas Next takes two steps. I'm assuming SunUp would perform faster in the US while Next would perform faster in the EU, right?

Not sure if it was a joke 😅 Nextpush uses your nextcloud (~a self-hosted google drive alternative) instance in case you happen to have one, so that would depend on where you're hosting it. Although, assuming push notifications aren't exactly resource-intensive (otherwise those would require at least making an account), the difference would be pretty negligible from a performance standpoint

[-] krolden@lemmy.ml 9 points 4 days ago

You need to run your own push services provider like ntfy or gotify and tie all your notifications into it

[-] daytonah@lemmy.ml 11 points 4 days ago

Look into /e/OS , lineage, and graphene. On the /e/os page, there is a big explanation also on grapahenes documentation page. That helped me a lot.

[-] FreeBooteR69@lemmy.ca 10 points 4 days ago

F-Droid and Aurora exist, i use them on my pixel 3a xl running ubuntu touch/waydroid.

[-] isVeryLoud@lemmy.ca 15 points 4 days ago* (last edited 4 days ago)

These are app stores, not app services, like GApps, GPS or MicroG

[-] 9tr6gyp3@lemmy.world 14 points 5 days ago

Its one or the other. Either Google Play Services will push notifications, or the apps have to have the ability to handle push notifications on their own (which isn't common).

Google Play Services can be sandboxed in GrapheneOS, but there isn't an open source Google Play Services since its not included in AOSP. It is very much a proprietary blob.

[-] refurbishedrefurbisher@lemmy.sdf.org 6 points 4 days ago* (last edited 4 days ago)

microG is an open source, reverse engineered replacement for Google Play Services on Android. It still connects to Google servers, though.

GrapheneOS doesn't use it because they came up with an effective Sandboxing solution, and microG requires spoofing the signature to make applications believe that the service was signed by Google, which introduces a potential attack vector.

[-] adry@piefed.social 10 points 5 days ago

As other comments mentioned, Push Notifications, your main issue has workarounds. So, the answer would be Yes.

BUT Google Play Services is much more than that. This dependency can't be worked around really and it's one more way that Google establishes his stance in this oligopoly. I'm certain Apple has something similar if not more aggressive. This is the reason why the year of the Linux Phone is so far away.

Personally, I think Linux Phones will catch-up when their hardware allows for emulation of an android subsystem where we could sideload (illegally?) Google Play Services...

[-] Strayce@lemmy.sdf.org 6 points 5 days ago* (last edited 5 days ago)

Waydroid runs on some Ubuntu Touch devices. Probably elsewhere too. Can't vouch for the performance though, never used it.

[-] timbuck2themoon@sh.itjust.works 3 points 4 days ago

FuriOS and postmarket etc. Plus sailfish.

Seems to work well. Sadly none are viable for me yet. I think theyre close though.

[-] pylapp@programming.dev 6 points 5 days ago

An app? Nope. For notifications, there is open source alternatives to Google and Apple services but it is used in the apps side, not users side. Have a look on microG and Open GApps to flash in your Android device; it might help you.

[-] digdilem@lemmy.ml -3 points 5 days ago

F-droid?

Free and open source. Allows you to install and automatically update apps from various app stores.

[-] merde@sh.itjust.works 13 points 5 days ago

F-droid?

Free and open source. Allows you to install and automatically update apps from various app stores.

fDroid is a replacement for "store", not "services"

[-] bla_bla_bla@feddit.org -5 points 5 days ago
this post was submitted on 05 May 2025
110 points (95.1% liked)

Open Source

36676 readers
186 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS