Can I get notifications from Extension:Echo (and other extensions using same mechanism, seeing as "Other MediaWiki extensions can make use of Notifications to send their own notifications; Thanks and DiscussionTools are two such extensions") pushed to Android? If this is not implemented, please guide me how to do it regarding the available API and examples of similar open-source apps, then I can try to develop this feature. I would like to do this as part of an app which is not focused on Wikipedia only, it should allow the users to specify the address of the wiki (or multiple wikis) where to get the notifications from in their Android device.
Topic on Project:Support desk/Flow
Appearance
The notifications can be pushed to the (Wikipedia) mobile app, by going Preferences -> Notifications and checking the notifications for the 'Mobile' channel.
As there is only a Wikipedia Android app, those are the only sites of which you can push the notifications to Android. As Application notifications need to be configured by the website owner and registered etc etc, I don't think you can push them to your own app.
Of course you can build your own push server to push them. But then you'd have to fetch them using the api from this server, which would be less than ideal, as you'd have to pull them in that case, before you can push, which is pretty inefficient.
I guess someone could implement push notifications on the real site instead of the app.
Hi TheDJ, Bawolff, thank you for your replies. How does it work in the English Wikipedia app? Where is the push server?
I'm not entirely sure, there seems to be some documentation here: https://wikitech.wikimedia.org/wiki/Push_notifications and Wikimedia Product Infrastructure team/Push Notifications Infrastructure
Thanks. I've found the latter link useful as there is an api query that allows to subscribe to receive new notification. Example of how to leverage this in a tiny sample Android app would be very helpful.
(The infrastructure team is now known as Content Transform Team. @MSantos (WMF) @SLopes-WMF)
TheDJ, Bawolff, I appreciate your advice however I've had zero progress because I don't know what I need to do to achieve what I want: write an app that allows me to receive on-wiki notifications as push notifications on Android, and allow me to write custom code to send additional notifications triggered by events which I want which are not included in Echo/Notifications system. Could you please provide me with step by step instructions?
I can administer a software on a toolforge server if it is needed.
I also don't know. I can only give the pointers that I have given.
@Gryllida thanks for the context and sorry for the late response on this thread. I am not entirely sure on how to help, we have been maintaining the service but the original authors are not around anymore.
I believe this could be either on Android or the push-notifications service side but if you want to push to the Android and/or iOS devices you need to file a phab task and tag Content Transform Team and Mobile Apps so we can understand your need.
As far as I can remember, we would support any Echo notifications of the box, I am not sure about how Echo interacts with other extensions.