microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.41k stars 1.7k forks source link

Push notifications don't work for Facebook Lite #886

Open smnthermes opened 5 years ago

smnthermes commented 5 years ago

GmsGcmRegisterSvc onHandleIntent: Intent { act=com.google.android.c2dm.intent.REGISTER cmp=com.google.android.gms/org.microg.gms.gcm.PushRegisterService (has extras) }

GmsGcmRegisterSvc register[req]: Intent { act=com.google.android.c2dm.intent.REGISTER cmp=com.google.android.gms/org.microg.gms.gcm.PushRegisterService (has extras) } extras=Bundle[{subtype=622912139302, sender=622912139302, X-subtype=622912139302, app_ver=161408057, app=PendingIntent{85ecaf7: android.os.BinderProxy@43ddd64}, kid=|ID|1|, osv=28, sig=fZHeJOJdPs8NktAD-0tsuQr2icBlgtNqtgVFZtIJEHBHQ_V6KCmK_MZIFI9sS1jhdoSj7N-2U5y1ZtdVJkV9yIT-h8swsSOk7XY9zB0dfUBcLTf-blJrKnOF2e05q0e7Mq-trI5V07PkVmIVhnpeIdOa9HkPLDt2bo2cp02VIQRFfFwA5rjiBCIFjq-6h8-ydtI_eXKSTnNyHtgguX0LDiqqFEKshx8B3Ek6eLXUsCbli9JRoQS6vJSHfwzZd3PUYfA-GRQzZBxm2Ynu1W0Hak26YnRX6a0FGapm44kaC0uWpAqweNkVw0UZEPBnjWDRieeGK9X1WTdDX5qcfSjw, cliv=fiid-11020000, gmsv=177852801, pub2=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzRLTLL6yLBkhc5KpVTuYwHkIzmXM9FYMCwWy2tJjFaKRgtsKCvoyc-B0ZI-OlBFkPjyJF4F6MW_DWRcrKA36uQCUdUzr5Ms11nBF1LqsKR0T4QMT3MfiARPzNGNh1x2pgzg0-Yk_kocyuh2dOUtEp2Q7iaI-Wus3xpX6VBr6-ha71TQAAIPh5uaFdFdXt7vtoFsyqje2-MaFs2YCAxd_RZpOy1Sfyr-22OpG3tAqMSXlIO3L7HQcHW12qYZNpHT4Wm1_U5XTHs-ZbXZs72JN8VVCCHkCU31net4obo2t3QcGtyj7eHrj7bJYXNHCpwqMQ9wQtziVQDSpDV7h87UNZQIDAQAB, X-kid=|ID|1|, appid=e6wCHt3PS68, scope=FCM, google.messenger=android.os.Messenger@723ebcd, gmp_app_id=1:622912139302:android:472dc569f8dd50f9, android.support.content.wakelockid=358, app_ver_name=153.0.0.10.129}]

GmsHttpFormClient -- Request -- X-GOOG.USER_AID=4124529691026361702&device=4124529691026361702&app=com.facebook.lite&cert=8a3c4b262d721acd49a4bf97d5213199c86fa2b9&app_ver=161408057&app_ver_name=153.0.0.10.129&gmsv=17785000&scope=*&osv=28&sender=622912139302&subtype=622912139302

smnthermes commented 5 years ago

It's registered in microG

caspervk commented 5 years ago

I had the same problem with Messenger Lite (com.facebook.mlite). App would show up as "registered" in MicroG, but never receive any notifications through this channel. I "solved" the issue by downloading the oldest version of Messenger Lite I could find on APKMirror (51.0.0.4.216).

codethief commented 5 years ago

@caspervk: That's strange. I've always been using the most up-to-date version of Messenger Lite and it's been working perfectly with MicroG ever since I set up my phone 1½ years ago.

patrickdrd commented 5 years ago

I've tested all of facebook and messenger lately and here are my findings: normal facebook and messenger apps' notifications work fine, as is messenger lite (both on a lollipop and a nougat device), however I didn't manage to receive a single notification from the facebook lite app, when I opened the app, the notifications were shown up, but with the app closed, no notification was received