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
- Fresh install of /e/ 0.17 (or Wipe | Format data in TWRP)
- Go through Setup Wizard, ebaaling internet access via WiFi or mobile internet, without setting up /e/ account
- In Apps, search for Ebay Mobile app and install it
What is the current behavior?
-
When you start Ebay, instead of seeing the Ebay Home screen you see this error screen - see screenshot 1 below
-
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)
-
Open Settings | System | Advanced | MicroG - Cloud Messaging shows 0 apps registered
What is the expected correct behavior?
-
The Ebay Home screen should be displayed with lots of ideas fro things to buy
-
You should see a screen saying login has succeeded (or failed if you entered a wrong password
-
MicroG - Cloud Messaging should show 1 app registered
Technical informations
Relevant logs (adb logcat
)
Solutions
Workaround
- Rebooting the device sometimes works: open Settings MicroG OR
-
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