element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.38k stars 728 forks source link

Configurable push gateway #5677

Open buffless-matt opened 2 years ago

buffless-matt commented 2 years ago

Your use case

I recently started self-hosting a Matrix homeserver and thought I had completely dropped dependency on "matrix.org" infrastructure, but then I realised that all Element apps are hard-configured to use the "matrix.org" push gateway.

Are there any plans to make self-hosting a push gateway (e.g. Sygnal) more feasible for non-app developers?

I've come across the Worth noting section of Sygnal docs, but I'm hoping there is a way for power users to be able to self-host a push gateway and not have to build their own clones of the Element apps.

Have you considered any alternatives?

No response

Additional context

No response

buffless-matt commented 2 years ago

Given that I haven't done mobile app dev before, I have the following questions:

  1. Is this feasible (e.g. within the constraints of FCM)?
  2. If so, what would be involved to make this a reality (e.g. if it were a matter of me PR'ing this)?
buffless-matt commented 2 years ago

Did a little digging and it seems (and kind of this) as though it might be possible, but it's probably not feasible enough (given that it's an atypical way to write Android apps).