microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.67k stars 1.73k forks source link

[de.tk.tkapp] TK App claims unexpected issue with Google Play Services #2617

Open dbankmann opened 1 week ago

dbankmann commented 1 week ago

Affected app Name: TK App Package id: de.tk.tkapp

Describe the bug Starting with version 6.13.0. the app is not working with microG anymore. At startup of the app a window will appear with the message: "P2 - Request failed: An unexpected issue has occured with your Google Play Services.

Expected behavior The app starts without the error message.

System Android Version: 13 Custom ROM: /e/-os 2.4.1-t

microG microG Core version: 0.3.2.240913-22 (43f9740) microG Self-Check results: All ticked

benlorenz commented 1 week ago

I have the same issue on lineageos (using microG 0.3.3.240913), I think this is related to this news item for the latest version:

  • We will offer you new TK App versions via in-app updates in the future.

The app seems to be trying to use the In-app updates service which is failing in an unexpected way because it is not implemented in microG.

adaschma commented 1 week ago

To downgrade to an older version in Aurora use the update version code 318.

Scrumplex commented 1 week ago

Excerpt from my log when starting the app:

11-10 23:58:20.449 V/WindowManager(1534): Finish Transition (#1329): created at 11-10 23:58:20.389 collect-started=0.073ms request-sent=8.067ms started=15.53ms ready=51.096ms sent=54.295ms finished=59.828ms
11-10 23:58:20.453 V/WindowManagerShell(2345): Track 0 became idle
11-10 23:58:20.453 V/WindowManagerShell(2345): All active transition animations finished
11-10 23:58:20.454 W/UserManagerService(1534): Requested status bar icon for non-badged user 0
11-10 23:58:20.455 D/CoreBackPreview(1534): Window{9cafbfa u0 de.tk.tkapp/de.tk.tkapp.start.StartActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b93df9e, mPriority=0, mIsAnimationCallback=false}
11-10 23:58:20.458 D/ConnectivityService(1534): requestNetwork for uid/pid:10392/2345 asUid: 10561 activeRequest: null callbackRequest: 9209 [NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647
11-10 23:58:20.462 W/UserManagerService(1534): Requested status bar icon for non-badged user 0
11-10 23:58:20.463 W/UserManagerService(1534): Requested status bar icon for non-badged user 0
11-10 23:58:20.474 D/WifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
11-10 23:58:20.475 D/UntrustedWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
11-10 23:58:20.475 D/OemPaidWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
11-10 23:58:20.475 D/ConnectivityService(1534): NetReassign [9210 : null → 112] [c 1] [a 5] [i 4]
11-10 23:58:20.475 D/MultiInternetWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
11-10 23:58:20.490 D/VRI[StartActivity](17727): visibilityChanged oldVisibility=true newVisibility=false
11-10 23:58:20.492 W/JobScheduler(1534): Job didn't exist in JobStore: ab91bfd #u0a561/231 de.tk.tkapp/androidx.work.impl.background.systemjob.SystemJobService
11-10 23:58:20.510 W/FeatureConnection(2555): getRegistrationTech: ImsRegistration is null
11-10 23:58:20.510 D/PhoneSwitcherNetworkRequstListener(2555): got request NetworkRequest [ REQUEST id=9210, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10392 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
11-10 23:58:20.548 D/ConnectivityService(1534): requestNetwork for uid/pid:10561/17727 activeRequest: null callbackRequest: 9211 [NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647
11-10 23:58:20.558 D/WifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]
11-10 23:58:20.559 D/UntrustedWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]
11-10 23:58:20.559 D/OemPaidWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]
11-10 23:58:20.560 D/MultiInternetWifiNetworkFactory(1534): got request NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]
11-10 23:58:20.560 D/ConnectivityService(1534): NetReassign [9212 : null → 112] [c 2] [a 2] [i 7]
11-10 23:58:20.561 W/FeatureConnection(2555): getRegistrationTech: ImsRegistration is null
11-10 23:58:20.611 W/FeatureConnection(2555): getRegistrationTech: ImsRegistration is null
11-10 23:58:20.612 D/PhoneSwitcherNetworkRequstListener(2555): got request NetworkRequest [ REQUEST id=9212, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: de.tk.tkapp UnderlyingNetworks: Null] ]
11-10 23:58:20.662 W/FeatureConnection(2555): getRegistrationTech: ImsRegistration is null
11-10 23:58:20.727 E/PlayCore(17727): UID: [10561]  PID: [17727] AppUpdateService : onError(-9)
11-10 23:58:20.737 D/AST     (20706):  $30188
11-10 23:58:20.738 W/WindowOnBackDispatcher(17727): OnBackInvokedCallback is not enabled for the application.
11-10 23:58:20.738 W/WindowOnBackDispatcher(17727): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
11-10 23:58:20.753 D/CoreBackPreview(1534): Window{8da57aa u0 de.tk.tkapp/de.tk.login.ui.LoginActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@f586e7c, mPriority=0, mIsAnimationCallback=false}
11-10 23:58:20.764 I/AdrenoGLES-0(17727): QUALCOMM build                   : 82d27a90b3, I4ee8f6bced
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Build Date                       : 07/12/23
11-10 23:58:20.764 I/AdrenoGLES-0(17727): OpenGL ES Shader Compiler Version: EV031.35.01.12
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Local Branch                     :
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.9.14.11.00.00.571.148
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Remote Branch                    : NONE
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Reconstruct Branch               : NOTHING
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Build Config                     : S P 10.0.7 AArch64
11-10 23:58:20.764 I/AdrenoGLES-0(17727): Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
11-10 23:58:20.778 I/AdrenoGLES-0(17727): PFP: 0x016dc094, ME: 0x00000000
11-10 23:58:20.802 I/Gralloc4(17727): Adding additional valid usage bits: 0x8202000
11-10 23:58:20.821 W/JobScheduler(1534): Job didn't exist in JobStore: f32f4c1 #u0a561/230 de.tk.tkapp/androidx.work.impl.background.systemjob.SystemJobService
11-10 23:58:20.834 I/Choreographer(17727): Skipped 39 frames!  The application may be doing too much work on its main thread.
11-10 23:58:20.847 D/CoreBackPreview(1534): Window{7623202 u0 de.tk.tkapp/de.tk.login.ui.LoginActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@ae5bf67, mPriority=0, mIsAnimationCallback=false}
11-10 23:58:20.865 W/libperfmgr(571): NodeLooperThread is not running, cancel LAUNCH
11-10 23:58:20.867 W/libperfmgr(571): NodeLooperThread is not running, request INTERACTION
11-10 23:58:20.877 I/ActivityTaskManager(1534): Displayed de.tk.tkapp/de.tk.login.ui.LoginActivity for user 0: +2s207ms

My suspicion is E/PlayCore(17727): UID: [10561] PID: [17727] AppUpdateService : onError(-9)