Skip to content

Crash when manually signing in to Aurora Store with MicroG #3273

@ThreeDeeJay

Description

@ThreeDeeJay

Affected app
Name: Aurora Store Nightly
Package id: com.aurora.store.nightly
version: 4.8.0-9d80b1dd5

Describe the bug
Aurora Store (Nightly) crashes when attempting to manually sign with MicroG when Trust Google for app permissions is unchecked.

To Reproduce

  1. Have MicroG installed and add your Google account to it
  2. Uncheck Trust Google for app permissions
  3. Run Aurora Store
  4. Go into Settings > Networking and check Use microG to sign in to accounts
  5. Restart
  6. Select Allow in the Google Account Manager dialog
  7. It crashes.

Expected behavior
Aurora Store should sign in without crashing after manually giving it permission to sign in.

Screenshots
Image

System
Android Version: 16
Custom ROM: LineageOS 23

microG
microG Core version: 0.3.12.250932
microG Self-Check results: All ticked, except for work profile which I don't use

Additional context
Checking Trust Google for app permissions prevents the crash and Aurora Store signs in and can be used as normal, but I'd rather not just blindly trust all apps to sign in with my account.

Logs

Aurora Store:

com.aurora.store.nightly E AndroidRuntime : FATAL EXCEPTION: main Process: com.aurora.store.nightly, PID: 31005 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.android.internal.os.RuntimeInitMethodAndArgsCaller.run(RuntimeInit.java:603) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInitMethodAndArgsCaller.run(RuntimeInit.java:593) ... 1 more Caused by: android.accounts.OperationCanceledException: java.util.concurrent.CancellationException at android.accounts.AccountManagerAmsTask.internalGetResult(AccountManager.java:2400) at android.accounts.AccountManagerAmsTask.getResult(AccountManager.java:2424) at android.accounts.AccountManager$AmsTask.getResult(AccountManager.java:2344) at xc.e.run(r8-map-id-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX:7) at android.accounts.AccountManager17.run(AccountManager.java:2301) at android.os.Handler.handleCallback(Handler.java:995) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loopOnce(Looper.java:248) at android.os.Looper.loop(Looper.java:338) at android.app.ActivityThread.main(ActivityThread.java:9067) ... 3 more Caused by: java.util.concurrent.CancellationException at java.util.concurrent.FutureTask.report(FutureTask.java:121) at java.util.concurrent.FutureTask.get(FutureTask.java:191) at android.accounts.AccountManagerAmsTask.internalGetResult(AccountManager.java:2395) ... 12 more

MicroG:

com.google.android.gms D GmsHttpFormClient : -- Request -- androidId=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&app=com.aurora.store.nightly&client_sig=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&callerPkg=com.aurora.store.nightly&callerSig=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&device_country=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&Email=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&google_play_services_version=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&has_permission=1&lang=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&operatorCountry=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&sdk_version=36&service=oauth2%3Ahttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgoogleplay&source=android&Token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I had already reported it to Aurora Store but a dev suggested it seems to be an issue on MicroG's end:
https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1470

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions