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

[BUG] PlatformPayButton for Google Pay #1907

Open
SincerelyFaust opened this issue Sep 2, 2024 · 11 comments
Open

[BUG] PlatformPayButton for Google Pay #1907

SincerelyFaust opened this issue Sep 2, 2024 · 11 comments
Assignees
Labels
needs triage Needs triage

Comments

@SincerelyFaust
Copy link

SincerelyFaust commented Sep 2, 2024

Describe the bug
When displaying the button for Google Pay, I get this error:

E/.ivault.android(12932): Invalid resource ID 0x00000001.
I/DynamiteModule(12932): Considering local module com.google.android.gms.wallet_dynamite:0 and remote module com.google.android.gms.wallet_dynamite:243333000
I/DynamiteModule(12932): Selected remote version of com.google.android.gms.wallet_dynamite, version >= 243333000
V/DynamiteModule(12932): Dynamite loader version >= 2, using loadModule2NoCrashUtils
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(12932): View class com.google.android.material.imageview.ShapeableImageView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
W/ResourcesCompat(12932): Failed to inflate ColorStateList, leaving it to the framework
W/ResourcesCompat(12932): java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7c040087 a=-1}, theme={InheritanceMap=[id=0x7c1100a8com.google.android.gms:style/PayButtonDarkTheme], Themes=[com.google.android.gms:style/PayButtonDarkTheme, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]}
W/ResourcesCompat(12932):       at android.content.res.TypedArray.getColor(TypedArray.java:529)
W/ResourcesCompat(12932):       at m.ij.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):18)
W/ResourcesCompat(12932):       at m.ij.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):24)
W/ResourcesCompat(12932):       at m.if.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):126)
W/ResourcesCompat(12932):       at com.google.android.material.imageview.ShapeableImageView.<init>(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):31)
W/ResourcesCompat(12932):       at com.google.android.material.imageview.ShapeableImageView.<init>(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):2)
W/ResourcesCompat(12932):       at java.lang.reflect.Constructor.newInstance0(Native Method)
W/ResourcesCompat(12932):       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createView(LayoutInflater.java:866)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.inflate(LayoutInflater.java:694)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.inflate(LayoutInflater.java:538)
W/ResourcesCompat(12932):       at m.bdq.d(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):337)
W/ResourcesCompat(12932):       at m.bdq.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):30)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.dynamite.PayButtonCreatorChimeraImpl.newPayButton(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):51)
W/ResourcesCompat(12932):       at m.bdg.z(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):43)
W/ResourcesCompat(12932):       at m.qe.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):21)
W/ResourcesCompat(12932):       at android.os.Binder.transact(Binder.java:1183)
W/ResourcesCompat(12932):       at com.google.android.gms.internal.wallet.zza.zzb(com.google.android.gms:play-services-wallet@@19.3.0:2)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.zze.zzd(com.google.android.gms:play-services-wallet@@19.3.0:4)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.zzf.zza(com.google.android.gms:play-services-wallet@@19.3.0:6)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.PayButton.initialize(com.google.android.gms:play-services-wallet@@19.3.0:17)
W/ResourcesCompat(12932):       at com.reactnativestripesdk.GooglePayButtonView.configureGooglePayButton(GooglePayButtonView.kt:35)
W/ResourcesCompat(12932):       at com.reactnativestripesdk.GooglePayButtonView.initialize(GooglePayButtonView.kt:26)
W/ResourcesCompat(12932):       at com.flutter.stripe.StripeSdkGooglePayButtonPlatformView.<init>(StripeSdkGooglePayButtonPlatformView.kt:40)
W/ResourcesCompat(12932):       at com.flutter.stripe.StripeSdkGooglePayButtonPlatformViewFactory.create(StripeSdkGooglePayButtonPlatformViewFactory.kt:24)
W/ResourcesCompat(12932):       at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:520)
W/ResourcesCompat(12932):       at io.flutter.plugin.platform.PlatformViewsController$1.createForPlatformViewLayer(PlatformViewsController.java:165)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:105)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
W/ResourcesCompat(12932):       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
W/ResourcesCompat(12932):       at android.os.Handler.handleCallback(Handler.java:958)
W/ResourcesCompat(12932):       at android.os.Handler.dispatchMessage(Handler.java:99)
W/ResourcesCompat(12932):       at android.os.Looper.loopOnce(Looper.java:205)
W/ResourcesCompat(12932):       at android.os.Looper.loop(Looper.java:294)
W/ResourcesCompat(12932):       at android.app.ActivityThread.main(ActivityThread.java:8177)
W/ResourcesCompat(12932):       at java.lang.reflect.Method.invoke(Native Method)
W/ResourcesCompat(12932):       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
W/ResourcesCompat(12932):       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/DynamiteModule(12932): Considering local module com.google.android.gms.wallet_dynamite:0 and remote module com.google.android.gms.wallet_dynamite:243333000
I/DynamiteModule(12932): Selected remote version of com.google.android.gms.wallet_dynamite, version >= 243333000
V/DynamiteModule(12932): Dynamite loader version >= 2, using loadModule2NoCrashUtils
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(12932): View class com.google.android.material.imageview.ShapeableImageView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
W/ResourcesCompat(12932): Failed to inflate ColorStateList, leaving it to the framework
W/ResourcesCompat(12932): java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7c040087 a=-1}, theme={InheritanceMap=[id=0x7c1100a8com.google.android.gms:style/PayButtonDarkTheme], Themes=[com.google.android.gms:style/PayButtonDarkTheme, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]}
W/ResourcesCompat(12932):       at android.content.res.TypedArray.getColor(TypedArray.java:529)
W/ResourcesCompat(12932):       at m.ij.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):18)
W/ResourcesCompat(12932):       at m.ij.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):24)
W/ResourcesCompat(12932):       at m.if.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):126)
W/ResourcesCompat(12932):       at com.google.android.material.imageview.ShapeableImageView.<init>(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):31)
W/ResourcesCompat(12932):       at com.google.android.material.imageview.ShapeableImageView.<init>(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):2)
W/ResourcesCompat(12932):       at java.lang.reflect.Constructor.newInstance0(Native Method)
W/ResourcesCompat(12932):       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createView(LayoutInflater.java:866)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflate(LayoutInflater.java:1138)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.inflate(LayoutInflater.java:694)
W/ResourcesCompat(12932):       at android.view.LayoutInflater.inflate(LayoutInflater.java:538)
W/ResourcesCompat(12932):       at m.bdq.d(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):337)
W/ResourcesCompat(12932):       at m.bdq.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):30)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.dynamite.PayButtonCreatorChimeraImpl.newPayButton(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):51)
W/ResourcesCompat(12932):       at m.bdg.z(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):43)
W/ResourcesCompat(12932):       at m.qe.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190408-0):21)
W/ResourcesCompat(12932):       at android.os.Binder.transact(Binder.java:1183)
W/ResourcesCompat(12932):       at com.google.android.gms.internal.wallet.zza.zzb(com.google.android.gms:play-services-wallet@@19.3.0:2)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.zze.zzd(com.google.android.gms:play-services-wallet@@19.3.0:4)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.zzf.zza(com.google.android.gms:play-services-wallet@@19.3.0:6)
W/ResourcesCompat(12932):       at com.google.android.gms.wallet.button.PayButton.initialize(com.google.android.gms:play-services-wallet@@19.3.0:17)
W/ResourcesCompat(12932):       at com.reactnativestripesdk.GooglePayButtonView.configureGooglePayButton(GooglePayButtonView.kt:35)
W/ResourcesCompat(12932):       at com.reactnativestripesdk.GooglePayButtonView.initialize(GooglePayButtonView.kt:26)
W/ResourcesCompat(12932):       at com.reactnativestripesdk.GooglePayButtonManager.onAfterUpdateTransaction(GooglePayButtonManager.kt:15)
W/ResourcesCompat(12932):       at com.flutter.stripe.StripeSdkGooglePayButtonPlatformView.onFlutterViewAttached(StripeSdkGooglePayButtonPlatformView.kt:55)
W/ResourcesCompat(12932):       at io.flutter.plugin.platform.PlatformViewsController.maybeInvokeOnFlutterViewAttached(PlatformViewsController.java:857)
W/ResourcesCompat(12932):       at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:530)
W/ResourcesCompat(12932):       at io.flutter.plugin.platform.PlatformViewsController$1.createForPlatformViewLayer(PlatformViewsController.java:165)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:105)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
W/ResourcesCompat(12932):       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
W/ResourcesCompat(12932):       at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
W/ResourcesCompat(12932):       at android.os.Handler.handleCallback(Handler.java:958)
W/ResourcesCompat(12932):       at android.os.Handler.dispatchMessage(Handler.java:99)
W/ResourcesCompat(12932):       at android.os.Looper.loopOnce(Looper.java:205)
W/ResourcesCompat(12932):       at android.os.Looper.loop(Looper.java:294)
W/ResourcesCompat(12932):       at android.app.ActivityThread.main(ActivityThread.java:8177)
W/ResourcesCompat(12932):       at java.lang.reflect.Method.invoke(Native Method)
W/ResourcesCompat(12932):       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
W/ResourcesCompat(12932):       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/PlatformViewsController(12932): Using hybrid composition for platform view: 1
D/EGL_emulation(12932): app_time_stats: avg=130.21ms min=1.65ms max=3869.84ms count=41
W/ConnectionStatusConfig(12932): Dynamic lookup for intent failed for action: com.google.android.gms.wallet.service.BIND
D/EGL_emulation(12932): app_time_stats: avg=607.87ms min=17.71ms max=5807.72ms count=10
I/.ivault.android(12932): NativeAlloc concurrent copying GC freed 15594(1017KB) AllocSpace objects, 8(344KB) LOS objects, 49% free, 17MB/35MB, paused 123us,49us total 118.655ms
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(12932): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/.ivault.android( 9218): Invalid resource ID 0x00000001.
I/DynamiteModule( 9218): Considering local module com.google.android.gms.wallet_dynamite:0 and remote module com.google.android.gms.wallet_dynamite:243333000
I/DynamiteModule( 9218): Selected remote version of com.google.android.gms.wallet_dynamite, version >= 243333000
V/DynamiteModule( 9218): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/.ivault.android( 9218): ClassLoaderContext classpath element checksum mismatch. expected=3305865080, found=1546459150 (DLC[];PCL[base.apk*3305865080:base.apk!classes2.dex*2014565449:base.apk!classes3.dex*3384809683:base.apk!classes4.dex*2585868975:base.apk!classes5.dex*2741184023:base.apk!classes6.dex*2175188343:base.apk!classes7.dex*2986890314:base.apk!classes8.dex*1909434001:base.apk!classes9.dex*3709344815:base.apk!classes10.dex*3979372734:base.apk!classes11.dex*2699678925:base.apk!classes12.dex*2986376733]{PCL[/system/framework/org.apache.http.legacy.jar*365604908]#PCL[/system/framework/com.android.media.remotedisplay.jar*2114713713]#PCL[/system/framework/com.android.location.provider.jar*3994156536]#PCL[/system_ext/framework/androidx.window.extensions.jar*3801209684]#PCL[/system_ext/framework/androidx.window.sidecar.jar*2709203797]#PCL[/system/framework/org.apache.http.legacy.jar*365604908]} | DLC[];PCL[/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk*1546459150:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes2.dex*211210061:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes3.dex*1857336638:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes4.dex*664950040:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes5.dex*3927556475:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes6.dex*2402229606:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes7.dex*4179180874:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes8.dex*947204026:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes9.dex*1438554803:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes10.dex*2123063746:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes11.dex*2990134809:/data/app/~~HLB3RCQr0UORyKHAbgL_Xw==/com.ivault.android-Rek-ydlBKPfQUvCn-0Vj4w==/base.apk!classes12.dex*2215016239]{PCL[/system/framework/org.apache.http.legacy.jar*365604908]#PCL[/system_ext/framework/androidx.window.extensions.jar*3801209684]#PCL[/system_ext/framework/androidx.window.sidecar.jar*2709203797]})
D/EGL_emulation( 9218): app_time_stats: avg=4770.10ms min=4770.10ms max=4770.10ms count=1
I/m.bjd   ( 9218): Unable to retrieve flag snapshot for com.google.android.gms.wallet_dynamite#com.ivault.android, using defaults.
E/ThemeUtils( 9218): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils( 9218): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/DynamiteModule( 9218): Considering local module com.google.android.gms.wallet_dynamite:0 and remote module com.google.android.gms.wallet_dynamite:243333000
I/DynamiteModule( 9218): Selected remote version of com.google.android.gms.wallet_dynamite, version >= 243333000
V/DynamiteModule( 9218): Dynamite loader version >= 2, using loadModule2NoCrashUtils
E/ThemeUtils( 9218): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils( 9218): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/PlatformViewsController( 9218): Using hybrid composition for platform view: 0
I/m.bjd   ( 9218): Unable to retrieve flag snapshot for com.google.android.libraries.consentverifier#com.ivault.android, using defaults.
I/bed     ( 9218): Successfully registered with Phenotype.
W/ConnectionStatusConfig( 9218): Dynamic lookup for intent failed for action: com.google.android.gms.wallet.service.BIND
D/EGL_emulation( 9218): app_time_stats: avg=21534.37ms min=21534.37ms max=21534.37ms count=1
I/.ivault.android( 9218): NativeAlloc concurrent copying GC freed 46086(2459KB) AllocSpace objects, 37(2824KB) LOS objects, 49% free, 10MB/21MB, paused 121us,306us total 293.993ms
D/CompatibilityChangeReporter( 9218): Compat change id reported: 289878283; UID 10197; state: ENABLED
E/.ivault.android( 9218): No package ID 7c found for resource ID 0x7c0a0101.

To Reproduce
Steps to reproduce the behavior:

  1. Display the button

Expected behavior
No errors and the callback working, currently it doesn't even call the function i want it to.

Smartphone / tablet

  • Device: Samsung Galaxy S23 and Android Studio
  • OS: Android 13/14
  • Package version: 11.0.0
  • Flutter version 3.16.9

Additional context
It's as if onPressed isn't called at all.

I am using Theme.AppCompat and Theme.MaterialComponents in styles.xml inside values and values-night folders.

@SincerelyFaust SincerelyFaust added the needs triage Needs triage label Sep 2, 2024
@remonh87
Copy link
Member

remonh87 commented Sep 2, 2024

@jonasbark I think you fixed this behavior last week correct?

@SincerelyFaust
Copy link
Author

I tried by importing via git and this still occurs.

@SincerelyFaust
Copy link
Author

Any news on this?

@carlos-alex
Copy link

carlos-alex commented Sep 28, 2024

... adding fuel to the fire

Steps to reproduce the behavior:
Display the button

Expected behavior
No errors

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Brand: samsung
Device: a32x
Model: SM-A326B
Manufacturer: samsung
Android version (release): 13
Android SDK version: 33
Security patch: 2024-08-01
Version codename: REL
Version incremental: A326BXXSCCXH1
Bootloader: A326BXXSCCXH1
Board: a32x
Hardware: mt6853
Host: VPHMRB636
ID: TP1A.220624.014
Product: a32xeea
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
Supported 32-bit ABIs: [armeabi-v7a, armeabi]
Supported 64-bit ABIs: [arm64-v8a]
Is physical device: true
System features: [android.hardware.sensor.proximity, com.samsung.android.sdk.camera.processor, com.sec.feature.motionrecognition_service, com.sec.feature.cover.sview, android.hardware.telephony.ims.singlereg, android.hardware.sensor.accelerometer, android.software.controls, android.hardware.faketouch, android.software.telecom, android.hardware.usb.accessory, android.software.backup, android.hardware.touchscreen, android.hardware.touchscreen.multitouch, android.software.print, android.software.activities_on_secondary_displays, com.sec.feature.nfc_authentication_cover, com.samsung.feature.SAMSUNG_EXPERIENCE, com.google.android.feature.ACCESSIBILITY_PRELOAD, com.sec.feature.nfc_authentication, android.software.voice_recognizers, android.software.picture_in_picture, android.hardware.fingerprint, com.samsung.android.knox.knoxsdk, android.hardware.sensor.gyroscope, android.software.vulkan.deqp.level, android.software.cant_save_state, android.hardware.security.model.compatib
Display: TP1A.220624.014.A326BXXSCCXH1
Hardware serial number: unknown
Type: user
Tags: release-keys
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I/ViewRootImpl@9ab5fbMainActivity: ViewPostIme pointer 0
I/ViewRootImpl@9ab5fbMainActivity: ViewPostIme pointer 1
D/OpenGLRenderer(23574): setSurface called with nullptr
D/OpenGLRenderer(23574): setSurface() destroyed EGLSurface
D/OpenGLRenderer(23574): destroyEglSurface
D/BufferQueueConsumer(23574): ImageReader-315x90f22m5-23574-3 disconnect
I/DynamiteModule(23574): Considering local module com.google.android.gms.wallet_dynamite:0 and remote module com.google.android.gms.wallet_dynamite:243734000
I/DynamiteModule(23574): Selected remote version of com.google.android.gms.wallet_dynamite, version >= 243734000
V/DynamiteModule(23574): Dynamite loader version >= 2, using loadModule2NoCrashUtils
E/ThemeUtils(23574): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(23574): View class com.google.android.material.imageview.ShapeableImageView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
W/ResourcesCompat(23574): Failed to inflate ColorStateList, leaving it to the framework
W/ResourcesCompat(23574): java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7a040088 a=-1}, theme={InheritanceMap=[id=0x7a1100a8com.google.android.gms:style/PayButtonDarkTheme], Themes=[com.google.android.gms:style/PayButtonDarkTheme, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]}
W/ResourcesCompat(23574): at android.content.res.TypedArray.getColor(TypedArray.java:529)
W/ResourcesCompat(23574): at m.ij.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):18)
W/ResourcesCompat(23574): at m.ij.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):24)
W/ResourcesCompat(23574): at m.if.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):126)
W/ResourcesCompat(23574): at com.google.android.material.imageview.ShapeableImageView.(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):31)
W/ResourcesCompat(23574): at com.google.android.material.imageview.ShapeableImageView.(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):2)
W/ResourcesCompat(23574): at java.lang.reflect.Constructor.newInstance0(Native Method)
W/ResourcesCompat(23574): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
W/ResourcesCompat(23574): at android.view.LayoutInflater.createView(LayoutInflater.java:876)
W/ResourcesCompat(23574): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1028)
W/ResourcesCompat(23574): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148)
W/ResourcesCompat(23574): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
W/ResourcesCompat(23574): at android.view.LayoutInflater.inflate(LayoutInflater.java:692)
W/ResourcesCompat(23574): at android.view.LayoutInflater.inflate(LayoutInflater.java:544)
W/ResourcesCompat(23574): at m.bdo.d(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):337)
W/ResourcesCompat(23574): at m.bdo.b(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):30)
W/ResourcesCompat(23574): at com.google.android.gms.wallet.dynamite.PayButtonCreatorChimeraImpl.newPayButton(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):51)
W/ResourcesCompat(23574): at m.bde.z(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):43)
W/ResourcesCompat(23574): at m.qg.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (190400-0):21)
W/ResourcesCompat(23574): at android.os.Binder.transact(Binder.java:1200)
W/ResourcesCompat(23574): at com.google.android.gms.internal.wallet.zza.zzb(com.google.android.gms:play-services-wallet@@19.3.0:2)
W/ResourcesCompat(23574): at com.google.android.gms.wallet.button.zze.zzd(com.google.android.gms:play-services-wallet@@19.3.0:4)
W/ResourcesCompat(23574): at com.google.android.gms.wallet.button.zzf.zza(com.google.android.gms:play-services-wallet@@19.3.0:6)
W/ResourcesCompat(23574): at com.google.android.gms.wallet.button.PayButton.initialize(com.google.android.gms:play-services-wallet@@19.3.0:17)
W/ResourcesCompat(23574): at io.flutter.plugins.pay_android.view.PayButtonView.buildPayButton(PayButtonView.kt:61)
W/ResourcesCompat(23574): at io.flutter.plugins.pay_android.view.PayButtonView.(PayButtonView.kt:48)
W/ResourcesCompat(23574): at io.flutter.plugins.pay_android.view.PayButtonViewFactory.create(PayButtonViewFactory.kt:27)
W/ResourcesCompat(23574): at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:523)
W/ResourcesCompat(23574): at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:197)
W/ResourcesCompat(23574): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:128)
W/ResourcesCompat(23574): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
W/ResourcesCompat(23574): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
W/ResourcesCompat(23574): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
W/ResourcesCompat(23574): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
W/ResourcesCompat(23574): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
W/ResourcesCompat(23574): at android.os.Handler.handleCallback(Handler.java:942)
W/ResourcesCompat(23574): at android.os.Handler.dispatchMessage(Handler.java:99)
W/ResourcesCompat(23574): at android.os.Looper.loopOnce(Looper.java:226)
W/ResourcesCompat(23574): at android.os.Looper.loop(Looper.java:313)
W/ResourcesCompat(23574): at android.app.ActivityThread.main(ActivityThread.java:8762)
W/ResourcesCompat(23574): at java.lang.reflect.Method.invoke(Native Method)
W/ResourcesCompat(23574): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
W/ResourcesCompat(23574): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
E/ThemeUtils(23574): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(23574): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/PlatformViewsController(23574): Hosting view in view hierarchy for platform view: 2
I/PlatformViewsController(23574): PlatformView is using SurfaceProducer backend
D/BufferQueueConsumer(23574): connect: controlledByApp=true
D/NativeCustomFrequencyManager(23574): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
D/OpenGLRenderer(23574): eglCreateWindowSurface
W/ConnectionStatusConfig(23574): Dynamic lookup for intent failed for action: com.google.android.gms.wallet.service.BIND
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(23574): CFMS:: SetUp Pid : 23574 Tid : 23631
W/Parcel (23574): Expecting binder but got null!
D/BufferQueueConsumer(23574): connect: controlledByApp=true
D/NativeCustomFrequencyManager(23574): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
D/OpenGLRenderer(23574): eglCreateWindowSurface
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(23574): CFMS:: SetUp Pid : 23574 Tid : 23631
W/Parcel (23574): Expecting binder but got null!
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(23574): setSurface called with nullptr
D/OpenGLRenderer(23574): setSurface() destroyed EGLSurface
D/OpenGLRenderer(23574): destroyEglSurface
D/BufferQueueConsumer(23574): ImageReader-1x1f22m5-23574-4 disconnect
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/ThemeUtils(23574): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(23574): View class android.support.v7.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/FrameEvents(23574): updateAcquireFence: Did not find frame.
E/FrameEvents(23574): updateAcquireFence: Did not find frame.

@jonasbark
Copy link
Member

Please provide a minimal project where this is reproducible

@carlos-alex
Copy link

Hi Jonas,

Thank you so much for looking into this! I really appreciate your time and effort.

As requested, I’ve prepared a minimal project where the issue is reproducible. You can download it from the link below:

minimal_project_using_gpay.zip

In addition, I’ve also included some auxiliary files, such as logs and screenshots, to provide more context.

Please feel free to reach out if you need any further details or if there's anything else I can assist with. I’m looking forward to your feedback and am hopeful that we can get this resolved soon!

Thanks again, and have a great day!

@carlos-alex
Copy link

Any news on this?

@mcmah309
Copy link

+1

@carlos-alex
Copy link

According to the people at Google, "this is normal" ...

google-pay/google-pay-button#315

@dmengelt
Copy link

Sorry for the confusion @carlos-alex As I wrote in the other issue I'm not sure if those two issues are really related. You should definitely not get an exception. However, the "visual glitch" is our loading animation and "normal".

google-pay/google-pay-button#315 (comment)

@carlos-alex
Copy link

No worries, mate!

I’m not sure if they’re related either, but at the time, it felt like they might be, as I mentioned in the other issue.

Since no progress was made toward resolving the problem, I started exploring every possible angle.

From my perspective, if an error shows up during development and isn’t addressed, it could turn into a major bug in production and potentially impact an entire project. That’s why I’m trying to get to the bottom of this and fix the issue.

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

No branches or pull requests

6 participants