microg / microg/GmsCore

Web push notifications support

Open
#357 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

☁️ Cloud / Push Messaging
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

I am trying to develop web push notifications for my webapp. I am new at this, so I made some research. If I understand well, Web Push Notifications are just in the process of getting standardized.

When Chrome started to support it, it was through GCM, then FCM. You had to register to get a Google Developer project, sender id, etc. (https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web)
Moving forward, with Chrome 52 you no longer need to do this, there is VAPID, etc. Web Push Protocol is getting standardized.
(https://developers.google.com/web/updates/2016/07/web-push-interop-wins)

What is the current state of Web Push Support in microg?

Using CM13, latest microG (0.2.4-81), and Chromium, I can not get web push notifications working. GCM works fine for other apps.

I tried with theese examples:
https://gauntface.github.io/simple-push-demo/
https://onesignal.com/webpush

https://fcm-demo-mtbqzgkaoz.now.sh
This site says on the phone:
FirebaseError: Requested entity was not found. (I have seen this at other sites too, so it seems that Chromium is not able to get a Firebase token)

Is the these web push notifications supposed to work with microG?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the linked simple-push-demo, OneSignal web push page, and FCM demo using Chromium, CM13, and microG 0.2.4-81. Reproduce the FirebaseError and compare the behavior with the linked Web Push, VAPID, and FCM references. Done would require a documented support determination or a clearly scoped implementation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase
Domain
cloud, mobile, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.