Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MicroG acts as if I haven't added my Google account. #1847

Open
RokeJulianLockhart opened this issue Dec 12, 2022 · 14 comments
Open

MicroG acts as if I haven't added my Google account. #1847

RokeJulianLockhart opened this issue Dec 12, 2022 · 14 comments
Labels

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Dec 12, 2022

Describe the bug

As #1403 (comment) explains, I am unable to proceed past the add account screen even after properly authenticating. It acts as if I never added an account to MicroG. When I try again, I get the

This account already exists on your device.

  1. Screenshot_20221212-170552

  2. Screenshot_20221212-170619

To Reproduce

Steps to reproduce the behavior:
(Please wait a moment for some demonstration to be uploaded – I appear to need my PC to upload MP4 files to GitHub 🤷 – but it doesn't really require explanation.)

Expected behavior

All software should automatically detect the present account, and consequently not necessitate manual authentication.

Screenshots

  1. Screenshot_20221212-165921

  2. Screenshot_20221212-165933

  3. Screenshot_20221212-165943

System

Android Version: 13
CalyxOS version: 4.4.0
Build number: TQ1A.221205.011.22404000

Additional context

#1403 (comment)

@TheHighGroundWins
Copy link

The add account button on microg just adds an account wether or not it already exists. If your phone says your account is there then it's there.

If your account doesn't show in google apps, then open something like google drive that detects your google account then go to your profile and manage google account. There you should see options to allow google apps to see your google account. Enable that and you should be good to go.

@ildar
Copy link

ildar commented Dec 20, 2022 via email

@RokeJulianLockhart
Copy link
Author

RokeJulianLockhart commented Dec 21, 2022

@ildar, that doesn't allow Google Fit to work, not least because it doesn't request that permission.

@RokeJulianLockhart
Copy link
Author

@TheHighGroundWins, the screenshots posted demonstrate that I have already enabled those options. That was why I filed this report – very few applications are able to access my Google account despite that being enabled.

@ale5000-git
Copy link
Member

@RokeJulianLockhart: Please specify all apps where you have this issue.

@RokeJulianLockhart
Copy link
Author

RokeJulianLockhart commented Dec 21, 2022

@ale5000-git,

https://play.google.com/store/apps/details?id=com.chrome.canary
https://play.google.com/store/apps/details?id=com.google.android.apps.fitness
https://play.google.com/store/apps/details?id=com.google.android.apps.walletnfcrel
https://play.google.com/store/apps/details?id=com.google.android.apps.recorder
https://play.google.com/store/apps/details?id=ninja.sesame.app.edge
https://play.google.com/store/apps/details?id=com.shazam.android

don't authenticate;

https://play.google.com/store/apps/details?id=com.google.android.apps.googleassistant simply doesn't work even when https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox has been installed; and

https://play.google.com/store/apps/details?id=com.google.android.apps.healthdata
https://play.google.com/store/apps/details?id=com.google.android.apps.safetyhub
https://play.google.com/store/apps/details?id=com.google.android.accessibility.soundamplifier
https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox

don't even open.

@TheHighGroundWins
Copy link

@RokeJulianLockhart sorry man theres nothing more I can do. maybe the app is more reliant google services that microg doesn't have. Google contacts wouldn't sync for me and I had to manually import my contacts. It seems that your account is detected but just not connecting to be online.

@RokeJulianLockhart
Copy link
Author

Indeed, contacts synchronize via https://www.apkmirror.com/apk/google-inc/google-contacts-sync, so that problem is mostly separate, although I am surprised that the relevant APK is not provided by MicroG, as I am surprised that the Trichrome library is not.

The rest of the problems are, however, severe bugs in MicroG, and why I never choose it over 1st-party implementation of the Play Services Framework if possible.

@TheHighGroundWins
Copy link

I tried google contacts sync before but it didn't work maybe that's just me.

I understand why microg is like this tho. It's basically porting google features without using closed source stuff. Reminds me of wine, like how if you want a feature you need to build something that acts as an interface.

Still waiting for nearby share to become a thing on microg. I'd like to work on it myself but it seems too advanced for me to even know where to start with it.

@ildar
Copy link

ildar commented Dec 24, 2022 via email

@Sapiosenses
Copy link

@ildar, that doesn't allow Google Fit to work, not least because it doesn't request that permission.

As far as I know, Google Fitness (same as Google Fit?) was never supported on microG, this is known and intentional.

It's possible it may be implemented at some time in the future, cannot say.

If you want to see which GMS/Gplay APIs are working, not working or will never work (eg because they are needlessly snoopery and the project founder doesn't want to facilitate that), please see the following page:

https://github.com/microg/GmsCore/wiki/Implementation-Status

@Sense101
Copy link

Sense101 commented Feb 8, 2023

I tried google contacts sync before but it didn't work maybe that's just me.

I understand why microg is like this tho. It's basically porting google features without using closed source stuff. Reminds me of wine, like how if you want a feature you need to build something that acts as an interface.

Still waiting for nearby share to become a thing on microg. I'd like to work on it myself but it seems too advanced for me to even know where to start with it.

I'd also like to work on fixing google contacts sync. From what I can see in the code, the method to sync contacts has simply not been implemented, which is a bit ridiculous.

I'm sure there are other people out there who'd like to fix these issues so they can use microg properly. But in order for anyone else to make changes like that they would need to understand how the code works! And there is no guide or anything on this.

I would be more than happy to work on adding these missing methods to microg. But I (and probably others) just don't know where to start.

@Iey4iej3
Copy link

Right now, you might use an FOSS alternative as well, such as DAVx5.

@trunksn1
Copy link

I stumbled upon this issue while having the same exact problem trying to sign in on ReVanced.

To solve that i just went into settings -> applications -> microG -> storage space and clicked on the two buttons to empty the cache and the data.

Hope this can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants