Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

MicroG not registering apps for cloud messaging

  • /e/ version: 0.17-q
  • Device model(s): z3c, suzuran
  • Device rooted: no

Summary

When user installs an app that requires / uses Cloud Messaging, MicroG should detect this and register the app for Cloud Messaging. On a fresh /e/ installation, this does not happen when user installs the Ebay app from Apps

The problem

Steps to reproduce

  1. Fresh install of /e/ 0.17 (or Wipe | Format data in TWRP)
  2. Go through Setup Wizard, ebaaling internet access via WiFi or mobile internet, without setting up /e/ account
  3. In Apps, search for Ebay Mobile app and install it

What is the current behavior?

  1. When you start Ebay, instead of seeing the Ebay Home screen you see this error screen - see screenshot 1 below2021-06-17_08.13.50

  2. If you try to sign in, you see a message (above the Username and password fields) saying 'Invalid request' (no screenshot - not allowed by app)

  3. Open Settings | System | Advanced | MicroG - Cloud Messaging shows 0 apps registered

What is the expected correct behavior?

  1. The Ebay Home screen should be displayed with lots of ideas fro things to buy

  2. You should see a screen saying login has succeeded (or failed if you entered a wrong password

  3. MicroG - Cloud Messaging should show 1 app registered

Technical informations

Relevant logs (adb logcat)

ebayfaillog.txt

Solutions

Workaround

  1. Rebooting the device sometimes works: open Settings MicroG OR
  2. adb uninstall /e/'s MicroG GmsCore and install the official version from MicroG F-Droid repos

Possible fixes

Stop using /e/'s broken reimplementation of MicroG and use the official versio