microg / microg/GmsCore

Push notifications not working in AquaMail

Open
#259 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

They are received as per the microG settings app last notification received time, but logcat says:

W/BroadcastQueue( 583): Permission Denial: receiving Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x30 pkg=org.kman.AquaMail cmp=org.kman.AquaMail/com.google.android.gms.gcm.GcmReceiver (has extras) } to org.kman.AquaMail/com.google.android.gms.gcm.GcmReceiver requires org.kman.AquaMail.permission.C2D_MESSAGE due to sender com.google.android.gms (uid 10099)

All microG self-checks are passing, signature spoofing is on (can see it in logcat), the microG services framework is installed, and the notification tester app works. Also, AquaMail notifications worked fine when I was on Google Play Services.

I'm using 0.2.4-39-ga53b32e (com.google.android.gms-10086498.apk off of https://microg.org/download.html)

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

Start by reproducing the AquaMail push-notification failure and inspect the logcat Permission Denial involving com.google.android.gms.gcm.GcmReceiver and org.kman.AquaMail.permission.C2D_MESSAGE. Compare the behavior with the microG settings notification time and notification tester app; done means AquaMail receives push notifications without that permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.