GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
359 stars 21 forks source link

Google Play (Store/Services) Error (Payment methods and Payments) [Solved] #3873

Closed klorax closed 2 months ago

klorax commented 2 months ago

Whenever I try to add a payment method or make an in app purchase I get an error (see attachment):

Request Failed An unexpected error has occurred. Please try again later. [OR_BPA_01]

I have cleared the cache and data for: Google Play services (v. 24.31.37), Google Services Framework (v. 14), and Google Play Store (v. 42.2.27.31). It did not help. I have also enabled "Exploit protection compatibility mode" for these and GmsCompatConfig (v. 129), which did not help either. I am using the latest version of GrapheneOS on Google Pixel 6a.

I first encountered this 2024-08-14. I know that it worked 2024-07-13.

I am not sure if #3861 is related.

This forum discussion seem to be about this: https://discuss.grapheneos.org/d/14860-cant-make-payments-on-apps

Solution

@matchboxbananasynergy provided a solution below and @moonlitOrca added some additional info.

  1. Make sure Location is turned on.
  2. Give the "Google Play services" app the location permission: Permissions - Location - "Allow when using the app" (or "Allow all the time").
  3. Also turn on "Use precise location".
    • Nothing needs to be done with "Google Play Store" and "Google Services Framework" at this time.

See the comments below for more info: 1, 2, 3.

Logs

Here follows some logs for the relevant time.

Warcraft Rumble

The app I tried to make the purchase in (again the same error is shown when adding a payment method in Google Play Store):

type: logcat
osVersion: google/bluejay/bluejay:14/AP2A.240805.005.F1/2024080600:user/release-keys
packageName: com.blizzard.arc:100893
buffers: main,system,crash,events,kernel
level: verbose

--------- switch to main
W ProxyBillingActivity: Activity finished with resultCode -1 and billing's responseCode: 1
--------- switch to events
I wm_on_activity_result_called: [Token=18513178,Component Name=com.android.billingclient.api.ProxyBillingActivity,Reason=ACTIVITY_RESULT]
--------- switch to main
D KUP:(GoogleInAppBilling.java): onPurchasesUpdated: invoked
D KUP:(GoogleInAppBilling.java): onPurchasesUpdated: 1
I KUP:(GoogleInAppBilling.java): onPurchasesUpdated: User canceled the purchase
E blz_commerce: [store] Native purchase failed. Message:[google-iab: user canceled] Status:[2] Code:[1]
--------- switch to events
I wm_on_resume_called: [Token=228337148,Component Name=com.blizzard.gryphon.unity.player.GryphonUnityPlayerActivity,Reason=RESUME_ACTIVITY,time=8ms]
I wm_on_top_resumed_gained_called: [Token=228337148,Component Name=com.blizzard.gryphon.unity.player.GryphonUnityPlayerActivity,Reason=topWhenResuming]
--------- switch to main
D VRI[ProxyBillingActivity]: visibilityChanged oldVisibility=true newVisibility=false
--------- switch to events
I viewroot_draw_event: [window=VRI[ProxyBillingActivity],event=Not drawing due to not visible]
I wm_on_stop_called: [Token=18513178,Component Name=com.android.billingclient.api.ProxyBillingActivity,Reason=LIFECYCLER_STOP_ACTIVITY,time=0ms]
I wm_on_destroy_called: [Token=18513178,Component Name=com.android.billingclient.api.ProxyBillingActivity,Reason=performDestroy,time=0ms]

Google Play Store

type: logcat
osVersion: google/bluejay/bluejay:14/AP2A.240805.005.F1/2024080600:user/release-keys
packageName: com.android.vending:84222730
buffers: main,system,crash,events,kernel
level: verbose

I wm_on_top_resumed_lost_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=performPause,time=0ms]
I wm_on_activity_result_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=ACTIVITY_RESULT]
I wm_on_resume_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=RESUME_ACTIVITY,time=0ms]
I wm_on_top_resumed_gained_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=topWhenResuming]
I wm_on_top_resumed_lost_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=performPause,time=0ms]
I wm_on_stop_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=LIFECYCLER_STOP_ACTIVITY,time=0ms]
I wm_on_destroy_called: [Token=131289318,Component Name=com.google.android.finsky.billing.acquire.SheetUiBuilderHostActivity,Reason=performDestroy,time=1ms]

Google Play Services

type: logcat
osVersion: google/bluejay/bluejay:14/AP2A.240805.005.F1/2024080600:user/release-keys
packageName: com.google.android.gms:243137038
buffers: main,system,crash,events,kernel
level: verbose

D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
I DMABUFHEAPS: Using DMA-BUF heap named: vframe-secure
D AdvertisingIdClient: AdvertisingIdClient already created.
D AdvertisingIdClient: AdvertisingIdClient is not bounded. Starting to bind it...
D AdvertisingIdClient: AdvertisingIdClient is bounded
I AdvertisingIdClient: GetInfoInternal elapse 7ms
D CompatibilityChangeReporter: Compat change id reported: 279646685; UID 10153; state: DISABLED
I wm_on_create_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performCreate,time=31ms]
I wm_on_start_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=handleStartActivity,time=0ms]
I wm_on_resume_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=RESUME_ACTIVITY,time=0ms]
D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10153; state: DISABLED
I auditd  : avc=type=1400 audit(0.0:96681): avc:  denied  { read } for  comm=".android.gms.ui" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=369 scontext=u:r:untrusted_app:s0:c153,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 bug=b/305600845 app=com.google.android.gms
W .android.gms.ui: type=1400 audit(0.0:96681): avc:  denied  { read } for  name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=369 scontext=u:r:untrusted_app:s0:c153,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 bug=b/305600845 app=com.google.android.gms
W libc    : Access denied finding property "ro.debuggable"
I wm_on_top_resumed_gained_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=topStateChangedWhenResumed]
I wm_on_top_resumed_lost_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performPause,time=0ms]
E cutils-trace: Error opening trace file: No such file or directory (2)
I viewroot_draw_event: [window=VRI[PmRootActivity],event=reportDrawFinished seqId=0]
W Sensors : Cannot get virtualdevice_native service
I wm_on_create_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performCreate,time=88ms]
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.wallet.bender3.framework.actions.IActionExecutorService cmp=com.google.android.gms/.wallet.service.PaymentService }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.wallet.bender3.framework.actions.IActionExecutorService cmp=com.google.android.gms/.wallet.service.PaymentService }
I wm_on_start_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=handleStartActivity,time=7ms]
I wm_on_resume_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=RESUME_ACTIVITY,time=2ms]
I wm_on_top_resumed_gained_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=topStateChangedWhenResumed]
I dvyz    : (REDACTED) onViewAttachedToWindow self=%s, view=%s
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
I BndSvcConfigHelper: No bound-service is registered for action: com.google.android.gms.payse.service.BIND
I BoundBrokerSvc: Bound service not available for: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
I GmsApiChimeraSvc: Handling missing api service for: com.google.android.gms.payse.service.BIND
I viewroot_draw_event: [window=VRI[GenericDelegatorInternalActivityX],event=reportDrawFinished seqId=0]
I GmsApiChimeraSvc: Using MissingApiServiceBroker for com.google.android.gms.payse.service.BIND due to missing BoundService implementation
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
I BndSvcConfigHelper: No bound-service is registered for action: com.google.android.gms.payse.service.BIND
I BoundBrokerSvc: Bound service not available for: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
I GmsApiChimeraSvc: Using MissingApiServiceBroker for com.google.android.gms.payse.service.BIND due to missing BoundService implementation
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.fido.fido2.regular.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.fido.fido2.regular.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.ocr.service.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.ocr.service.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.chimera.container.moduleinstall.ModuleInstallService.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.chimera.container.moduleinstall.ModuleInstallService.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.ocr.service.internal.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsInternalApiService }
D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.ocr.service.internal.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsInternalApiService }
I DynamiteModule: Considering local module com.google.android.gms.cronet_dynamite:0 and remote module com.google.android.gms.cronet_dynamite:3211
I DynamiteModule: Selected remote version of com.google.android.gms.cronet_dynamite, version >= 3211
W System  : ClassLoader referenced unknown path: 
D nativeloader: Configuring clns-5 for other apk . target_sdk_version=34, uses_libraries=, library_path=/data/app/~~EMxNGzP9V04dQ0QOGT2x9g==/com.google.android.gms-NmMGR_d-fAodNh7ZuHeg7A==/lib/arm64:/data/app/~~EMxNGzP9V04dQ0QOGT2x9g==/com.google.android.gms-NmMGR_d-fAodNh7ZuHeg7A==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
D nativeloader: Configuring clns-6 for other apk . target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~EMxNGzP9V04dQ0QOGT2x9g==/com.google.android.gms-NmMGR_d-fAodNh7ZuHeg7A==/split_CronetDynamite_installtime.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
D nativeloader: Extending system_exposed_libraries: libedgetpu_dba.google.so
D nativeloader: Load /data/app/~~EMxNGzP9V04dQ0QOGT2x9g==/com.google.android.gms-NmMGR_d-fAodNh7ZuHeg7A==/split_CronetDynamite_installtime.apk!/lib/arm64-v8a/libcronet.128.0.6557.4.so using isolated ns clns-6 (caller=<unknown>): ok
I cr_CronetLibraryLoader: Cronet version: 128.0.6557.4, arch: aarch64
I ecsj    : Network metric disabled. Skip initializing network monitor.
D TrafficStats: tagSocket(117) with statsTag=0x1b00, statsUid=-1
D TrafficStats: tagSocket(118) with statsTag=0x1b00, statsUid=-1
D CompatibilityChangeReporter: Compat change id reported: 3400644; UID 10153; state: ENABLED
D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10153; state: ENABLED
I dvyz    : (REDACTED) onViewAttachedToWindow self=%s, view=%s
I ImeTracker: com.google.android.gms.ui:52b34651: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
E O2NetworkAction: Network Error: enqb: bpnn: Gms network request failed
W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10153; state: ENABLED
D CompatibilityChangeReporter: Compat change id reported: 63938206; UID 10153; state: DISABLED
W FontsContract: Platform version of downloadable fonts is deprecated. Please use androidx version instead.
I FontLog : (REDACTED) Received query %s, URI %s
I FontLog : (REDACTED) Query [%s] resolved to %s
I FontLog : (REDACTED) Font PFD returned from cache for %s
I FontLog : (REDACTED) Fetch %s end status %s
I FontLog : (REDACTED) Pulling font file for id = %d, cache size = %d
I FontLog : (REDACTED) Received query %s, URI %s
I FontLog : (REDACTED) Query [%s] resolved to %s
I FontLog : (REDACTED) Font PFD returned from cache for %s
I FontLog : (REDACTED) Fetch %s end status %s
I FontLog : (REDACTED) Pulling font file for id = %d, cache size = %d
I viewroot_draw_event: [window=VRI[GenericDelegatorInternalActivityX],event=reportDrawFinished seqId=0]
W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@ac2b924
D HWUI    : endAllActiveAnimators on 0xb400d954076da400 (RippleDrawable) with handle 0xb400d821b4cd2b40
W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
W WalletUiUtils: Unknown window transition style.
I wm_on_top_resumed_lost_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performPause,time=3ms]
D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10153; state: ENABLED
I wm_on_activity_result_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=ACTIVITY_RESULT]
D VRI[GenericDelegatorInternalActivityX]: visibilityChanged oldVisibility=true newVisibility=false
I wm_on_stop_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=LIFECYCLER_STOP_ACTIVITY,time=4ms]
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.wallet.bender3.framework.actions.IActionExecutorService cmp=com.google.android.gms/.wallet.service.PaymentService }
I wm_on_destroy_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performDestroy,time=4ms]
W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@2d1f2ba
I dvyz    : (REDACTED) onViewDetachedToWindow self=%s, view=%s
I dvyz    : (REDACTED) onViewDetachedToWindow self=%s, view=%s
D VRI[PmRootActivity]: visibilityChanged oldVisibility=true newVisibility=false
I viewroot_draw_event: [window=VRI[PmRootActivity],event=Not drawing due to not visible]
I wm_on_stop_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=LIFECYCLER_STOP_ACTIVITY,time=1ms]
I wm_on_destroy_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performDestroy,time=0ms]
W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@e7ff60b
D AdvertisingIdClient: AdvertisingIdClient already created.
I AdvertisingIdClient: GetInfoInternal elapse 1ms
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.payse.service.BIND pkg=com.google.android.gms }
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.ocr.service.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.fido.fido2.regular.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.chimera.container.moduleinstall.ModuleInstallService.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.ocr.service.internal.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsInternalApiService }
D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }

Google Services Framework

type: logcat
osVersion: google/bluejay/bluejay:14/AP2A.240805.005.F1/2024080600:user/release-keys
packageName: com.google.android.gsf:34
buffers: main,system,crash,events,kernel
level: verbose

I wm_on_create_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performCreate,time=31ms]
I wm_on_start_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=handleStartActivity,time=0ms]
I wm_on_resume_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=RESUME_ACTIVITY,time=0ms]
I auditd  : avc=type=1400 audit(0.0:96681): avc:  denied  { read } for  comm=".android.gms.ui" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=369 scontext=u:r:untrusted_app:s0:c153,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 bug=b/305600845 app=com.google.android.gms
I wm_on_top_resumed_gained_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=topStateChangedWhenResumed]
I wm_on_top_resumed_lost_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performPause,time=0ms]
I viewroot_draw_event: [window=VRI[PmRootActivity],event=reportDrawFinished seqId=0]
I wm_on_create_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performCreate,time=88ms]
I wm_on_start_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=handleStartActivity,time=7ms]
I wm_on_resume_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=RESUME_ACTIVITY,time=2ms]
I wm_on_top_resumed_gained_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=topStateChangedWhenResumed]
I viewroot_draw_event: [window=VRI[GenericDelegatorInternalActivityX],event=reportDrawFinished seqId=0]
I viewroot_draw_event: [window=VRI[GenericDelegatorInternalActivityX],event=reportDrawFinished seqId=0]
I wm_on_top_resumed_lost_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=topStateChangedWhenResumed]
I wm_on_paused_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performPause,time=3ms]
I wm_on_activity_result_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=ACTIVITY_RESULT]
I wm_on_stop_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=LIFECYCLER_STOP_ACTIVITY,time=4ms]
I wm_on_destroy_called: [Token=36748329,Component Name=com.google.android.gms.wallet.activity.GenericDelegatorInternalActivityX,Reason=performDestroy,time=4ms]
I viewroot_draw_event: [window=VRI[PmRootActivity],event=Not drawing due to not visible]
I wm_on_stop_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=LIFECYCLER_STOP_ACTIVITY,time=1ms]
I wm_on_destroy_called: [Token=265339668,Component Name=com.google.android.gms.wallet.pm.PmRootActivity,Reason=performDestroy,time=0ms]

google_play_error

iotku commented 2 months ago

Encountered the same error with Google Pay when setting up my watch after a reset on my Google Pixel 8 Pro

griffinschreiber commented 2 months ago

Encountered the same error on Google Play on Chromebook.

Pietro395 commented 2 months ago

Same problem on a Pixel 6a, I had to update the payment method from the Play Store web interface

oppressor1761 commented 2 months ago

You can add payment info on payments.google.com. It seems a restriction Google added.

griffinschreiber commented 2 months ago

A fix I found is to buy a Google Play gift card and give it to yourself.

klorax commented 2 months ago

Same problem on a Pixel 6a, I had to update the payment method from the Play Store web interface

You can add payment info on payments.google.com. It seems a restriction Google added.

A fix I found is to buy a Google Play gift card and give it to yourself.

Unfortunately, none of the above works for in app purchases.

I am curious: Edit: 1. Is this only affecting Pixel 6 or even just Pixel 6a? (guess not since Chromebook was mentioned)? The forum thread mentions: Pixel 7a and 8 as well.

  1. Are there anyone with a Pixel 6a without this error?
    • If so, then any tips on what to try to change?

There is a new forum thread, but I am unsure if that is related.

moonlitOrca commented 2 months ago

Same issue here too. Started just recently. I can add methods online, but it means that sadly I now can't sync payment methods to my Pixel Watch anymore :-(. I dug around the Internet for hours and tried several iterations of removing methods, uninstalling the apps, reinstalling, etc. but to no avail.

matchboxbananasynergy commented 2 months ago

Can you please make sure location is enabled on the device? If that doesn't change anything, try giving play services the location permission and see if that improves anything.

This is based on a Reddit post I found about a similar error. This doesn't seem to be specific to GrapheneOS as someone mentioned a Chromebook there, so there's probably a generic fix for everyone.

moonlitOrca commented 2 months ago

If that doesn't change anything, try giving play services the location permission and see if that improves anything.

I can confirm that enabling Google Play Services to have location access "all the time" does indeed prevent the error code from popping up!! However, still I can't add cards because now it simply says the device doesn't meet security requirements, and then cancels the adding payment method process..... So now I will see if I can somehow get payments methods registered to my watch in another way. But at least I think your suggestion specifically of adding location to Google Play Services does "fix the error", for anyone else who is having that happen.

moonlitOrca commented 2 months ago

OK, sorry to spam comments, but an update here for any other poor souls trying to get payments on to their Pixel watches: If you enable to aforementioned location permissions, you can initiate adding the payment card from the Wallet app on your watch, and it will confirm on your phone, but it DOES allow you to proceed and I can add payment methods to my watch now, even though I can't on the phone itself!

Now to see if I can remove "all the time" from Google Play Services location permissions and continue to use the set up payment methods..... ;-)

UPDATE: I can confirm that removing the "allow all the time" or "allow while running" permission from Google Play Services does remove the ability to use Google Pay on the phone at all, even not through NFC, but through websites or apps. I don't believe the watch is affected though by location permissions on the phone once you have added the cards initially.

klorax commented 2 months ago

@matchboxbananasynergy @moonlitOrca Thanks it worked, I will update top post for solution so it is easier to find!

Should I close this, or should something be done before?