microg / microg/GmsCore

[ch.publisheria.bring] Bring! Grocery Shopping List

Open
#1,524 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Affected app
Name: Bring! Grocery Shopping List
Package id: ch.publisheria.bring

https://play.google.com/store/apps/details?id=ch.publisheria.bring

Describe the bug
When trying to log in with a Google account no log in dialog opens. So no login is possible using this login method.

To Reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Continue through first start wizard until login method selection appears
  3. Click on 'Continue with Google'
  4. See that the app tries to open the login dialog but it disappears immediately and no login is possible

Expected behavior
I expect it to open the login dialog and enable me to login with my Google account

System
Android Version: 11
Custom ROM: LineageOS microg 18.1 from 2021-07-03

microG
microG Core version: 0.2.21.212158
microG Self-Check results: All ticked

Additional context
Logcat log:

adb logcat | grep -F "adb shell ps | grep ch.publisheria.bring | tr -s ' ' | cut -d' ' -f2"
07-22 08:08:13.745 707 707 D Zygote : Forked child process 26549
07-22 08:08:13.746 1662 1905 I ActivityManager: Start proc 26549:ch.publisheria.bring/u0a232 for pre-top-activity {ch.publisheria.bring/ch.publisheria.bring.activities.BringMainActivity}
07-22 08:08:13.766 25974 25978 I adbd : jdwp connection from 26549
07-22 08:08:13.804 26549 26549 I blisheria.brin: The ClassLoaderContext is a special shared library.
07-22 08:08:13.824 26549 26549 W blisheria.brin: JIT profile information will not be recorded: profile file does not exist.
07-22 08:08:13.824 26549 26549 W blisheria.brin: JIT profile information will not be recorded: profile file does not exist.
07-22 08:08:13.832 26549 26549 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
07-22 08:08:13.833 26549 26549 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
07-22 08:08:13.843 26549 26549 W ComponentDiscovery: Class com.google.firebase.dynamicloading.DynamicLoadingRegistrar is not an found.
07-22 08:08:13.846 26549 26549 I FirebaseApp: Device unlocked: initializing all Firebase APIs for app [DEFAULT]
07-22 08:08:13.851 26549 26576 W blisheria.brin: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
07-22 08:08:13.852 26549 26576 W blisheria.brin: Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
07-22 08:08:13.852 26549 26576 W blisheria.brin: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
07-22 08:08:13.853 26549 26549 I FirebaseCrashlytics: Initializing Firebase Crashlytics 17.3.1
07-22 08:08:13.865 26549 26575 W DynamiteModule: Failed to retrieve remote module version.
07-22 08:08:13.871 26549 26575 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
07-22 08:08:13.873 26549 26575 W blisheria.brin: ClassLoaderContext classpath size mismatch. expected=1, found=0 (PCL[/system/framework/org.lineageos.platform.jar*3190854725] | PCL[])
07-22 08:08:13.882 26549 26549 I FirebaseInitProvider: FirebaseApp initialization successful
07-22 08:08:13.883 26549 26575 W DynamiteModule: IDynamite loader version = 2, no high precision latency measurement.
07-22 08:08:13.884 26549 26575 W GmsDynamiteLoaderImpl: No such module known: com.google.android.gms.measurement.dynamite
07-22 08:08:13.884 26549 26575 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.measurement.dynamite
07-22 08:08:13.884 26549 26575 I DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:46 and remote module com.google.android.gms.measurement.dynamite:0
07-22 08:08:13.884 26549 26575 I DynamiteModule: Selected local version of com.google.android.gms.measurement.dynamite
07-22 08:08:13.884 26549 26575 W DynamiteModule: IDynamite loader version = 2, no high precision latency measurement.
07-22 08:08:13.884 26549 26575 W GmsDynamiteLoaderImpl: No such module known: com.google.android.gms.measurement.dynamite
07-22 08:08:13.884 26549 26575 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.measurement.dynamite
07-22 08:08:13.892 26549 26549 W com.facebook.UserSettingsManager: Please set a value for AutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-android#disable-auto-events.
07-22 08:08:13.892 26549 26549 W com.facebook.UserSettingsManager: You haven't set a value for AdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-android#disable-auto-events.
07-22 08:08:13.896 26549 26594 I FA : App measurement initialized, version: 39000
07-22 08:08:13.896 26549 26594 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-22 08:08:13.896 26549 26594 I FA : To enable faster debug mode event logging run:
07-22 08:08:13.896 26549 26594 I FA : adb shell setprop debug.firebase.analytics.app ch.publisheria.bring
07-22 08:08:13.949 26549 26614 W ContextImpl: Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: ENOENT (No such file or directory)
07-22 08:08:13.976 26549 26549 I AppsFlyer_6.3.0: Firebase Refreshed Token = 482786847486
07-22 08:08:13.977 26549 26549 D AppsFlyer_6.3.0: setOneLinkCustomDomain [enjoy.getbring.com]
07-22 08:08:13.977 26549 26549 D AppsFlyer_6.3.0: Initializing AppsFlyer SDK: (v6.3.0.98)
07-22 08:08:13.978 26549 26549 I AppsFlyer_6.3.0: Starting AppsFlyer: (v6.3.0.98)
07-22 08:08:13.978 26549 26549 I AppsFlyer_6.3.0: Build Number: 98
07-22 08:08:13.978 26549 26549 D AppsFlyer_6.3.0: Loading properties..
07-22 08:08:13.978 26549 26549 D AppsFlyer_6.3.0: Done loading properties: true
07-22 08:08:13.983 26549 26549 I TetheringManager: registerTetheringEventCallback:ch.publisheria.bring
07-22 08:08:14.034 26549 26594 I FA : Tag Manager is not found and thus will not be used
07-22 08:08:14.046 26549 26642 I AppsFlyer_6.3.0: onBecameForeground
07-22 08:08:14.046 26549 26642 D AppsFlyer_6.3.0: No deep link detected
07-22 08:08:14.046 26549 26642 I AppsFlyer_6.3.0: Sending first launch for this session!
07-22 08:08:14.047 26549 26647 I AppsFlyer_6.3.0: sendWithEvent from activity: ch.publisheria.bring.BringApplication
07-22 08:08:14.047 26549 26647 I AppsFlyer_6.3.0: Trying to fetch GAID..
07-22 08:08:14.048 26549 26647 W ContextImpl: Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: ENOENT (No such file or directory)
07-22 08:08:14.072 26549 26647 I AppsFlyer_6.3.0: ******* sendTrackingWithEvent: Launch
07-22 08:08:14.072 26549 26630 I AdrenoGLES: QUALCOMM build : f2ab992, I401605978b
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Build Date : 09/28/19
07-22 08:08:14.072 26549 26630 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.01
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Local Branch :
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Remote Branch :
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Remote Branch :
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Reconstruct Branch :
07-22 08:08:14.072 26549 26630 I AdrenoGLES: Build Config : S L 8.0.11 AArch64
07-22 08:08:14.075 26549 26647 W AppsFlyer_6.3.0: Exception while collecting facebook's attribution ID.
07-22 08:08:14.075 26549 26647 I AppsFlyer_6.3.0: IMEI was not collected.
07-22 08:08:14.075 26549 26647 I AppsFlyer_6.3.0: Android ID was not collected.
07-22 08:08:14.076 26549 26647 D AppsFlyer_6.3.0: No OAID library
07-22 08:08:14.080 26549 26630 I AdrenoGLES: PFP: 0x005ff112, ME: 0x005ff066
07-22 08:08:14.088 26549 26647 I AppsFlyer_6.3.0: AppsFlyer: first launch date: 2021-07-19_202350+0000
07-22 08:08:14.089 26549 26647 D AppsFlyer_6.3.0: didConfigureTokenRefreshService=false
07-22 08:08:14.096 26549 26647 I AppsFlyer_6.3.0: AppsFlyerLib.sendWithEvent
07-22 08:08:14.104 26549 26630 I Gralloc4: mapper 4.x is not supported
07-22 08:08:14.105 26549 26630 W Gralloc3: mapper 3.x is not supported
07-22 08:08:14.241 26549 26647 I AppsFlyer_6.3.0: url: https://launches.appsflyer.com/api/v6.3/androidevent?app_id=ch.publisheria.bring&buildnumber=6.3.0
07-22 08:08:14.242 26549 26647 I AppsFlyer_6.3.0: data: {" ... "}
07-22 08:08:14.388 26549 26645 E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
07-22 08:08:14.710 26549 26647 D AppsFlyer_6.3.0: Exception in sendRequestToServer.
07-22 08:08:14.710 26549 26647 I AppsFlyer_6.3.0: failed to send request to server. Unable to resolve host "launches.appsflyer.com": No address associated with hostname
07-22 08:08:14.710 26549 26647 D AppsFlyer_6.3.0: Exception while sending request to server.
07-22 08:08:14.711 26549 26647 I AppsFlyer_6.3.0: caching request...
07-22 08:08:14.712 26549 26647 D AppsFlyer_6.3.0: Unable to resolve host "launches.appsflyer.com": No address associated with hostname
07-22 08:08:14.713 26549 26647 D AppsFlyer_6.3.0: [GCD-A01] Loading conversion data. Counter: 14
07-22 08:08:14.713 26549 26647 D AppsFlyer_6.3.0: [GCD-A02] Calling onConversionDataSuccess with:
07-22 08:08:14.713 26549 26647 D AppsFlyer_6.3.0: {install_time=2021-07-19 20:23:50.992, af_status=Organic, af_message=organic install, is_first_launch=false}
07-22 08:08:15.900 26549 26563 I blisheria.brin: Background young concurrent copying GC freed 455356(24MB) AllocSpace objects, 120(5812KB) LOS objects, 88% free, 6209KB/54MB, paused 354us total 144.175ms
07-22 08:08:16.639 26549 26549 W AuthSignInClient: Could not launch sign in Intent. Google Play Service is probably being updated...
07-22 08:08:16.669 26549 26645 E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
07-22 08:08:16.673 26549 26549 I WebViewFactory: Loading com.android.webview version 91.0.4472.101 (code 447210103)
07-22 08:08:16.679 26549 26549 I blisheria.brin: The ClassLoaderContext is a special shared library.
07-22 08:08:16.740 26549 26549 I cr_LibraryLoader: Loaded native library version number "91.0.4472.101"
07-22 08:08:16.740 26549 26549 W blisheria.brin: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
07-22 08:08:16.740 26549 26549 W blisheria.brin: Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
07-22 08:08:16.740 26549 26549 W blisheria.brin: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
07-22 08:08:16.742 26549 26549 I cr_CachingUmaRecorder: Flushed 5 samples from 5 histograms.
07-22 08:08:17.957 26549 26549 W AuthSignInClient: Could not launch sign in Intent. Google Play Service is probably being updated...
07-22 08:08:17.983 26549 26645 E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
07-22 08:08:18.890 26549 26575 W FA : setCurrentScreen cannot be called with the same class and name
07-22 08:08:28.206 26549 26549 W AuthSignInClient: Could not launch sign in Intent. Google Play Service is probably being updated...
07-22 08:08:28.238 26549 26645 E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
07-22 08:08:28.285 26549 26549 W Choreographer: Frame time is 0.042955 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase.
07-22 08:08:29.137 26549 26575 W FA : setCurrentScreen cannot be called with the same class and name
07-22 08:08:34.273 1662 4289 D ConnectivityService: requestNetwork for uid/pid:10232/26549 NetworkRequest [ TRACK_DEFAULT id=3575, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10232 AdministratorUids: [] RequestorUid: 10232 RequestorPackageName: ch.publisheria.bring] ]
07-22 08:08:34.307 26549 26628 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=4a4fb4f3-6e30-4ed6-80af-0f7f5501205f, tags={ ch.publisheria.bring.discounts.persistence.BringDiscountsCleanupWorker, bring-job-list-item-clean-up } ]
07-22 08:08:34.559 26549 26549 W AuthSignInClient: Could not launch sign in Intent. Google Play Service is probably being updated...
07-22 08:08:34.591 26549 26645 E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
07-22 08:08:35.487 26549 26575 W FA : setCurrentScreen cannot be called with the same class and name

I guess this is the most interesting part of the log:

AuthSignInClient: Could not launch sign in Intent. Google Play Service is probably being updated...
E GmsClient: unable to connect to service: com.google.android.gms.auth.api.signin.service.START on com.google.android.gms
W FA : setCurrentScreen cannot be called with the same class and name

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Google sign-in flow in ch.publisheria.bring and reviewing the provided logcat entries for BringMainActivity, AuthSignInClient, and the failed Google Play services connection. Determine why the sign-in dialog disappears on Android 11 with microG 0.2.21.212158; done means the Google login dialog opens and authentication can proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.