How to get push messages to work in work profile/shelter?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
I've tried setting this up in shelter, but the GCM messaging not work. "push notification tester" cannot register for listening to push notifications. (When I enable the request to be manually approved, the usual question is not even shown.)
The logcat shows the push notification tester is trying "check token availability" again and again…
I am using https://lineage.microg.org/.
Is there any special setup I need?
Which apps, do I need to clone into the shelter? Do I need to also clone "Services Framework Proxy"?
More details/also reported at https://git.angry.im/PeterCxy/Shelter/issues/26 and https://github.com/bbindreiter/PushNotificationTester_App/issues/7 (as the test app actually crashes.)
Also related to https://github.com/microg/android_packages_apps_GmsCore/issues/747.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing push registration in Shelter on the reported LineageOS setup and review the logcat loop around “check token availability.” Compare the related Shelter, PushNotificationTester_App, and GmsCore issues. Done means identifying the required work-profile setup or confirming a fix that lets the tester register and receive push notifications.
Written by the indexing model from the issue text.
Assessment
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100