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

Braintree crashing my app #146

Open
nicolasvahidzein opened this issue Feb 10, 2024 · 4 comments
Open

Braintree crashing my app #146

nicolasvahidzein opened this issue Feb 10, 2024 · 4 comments

Comments

@nicolasvahidzein
Copy link

Hello,

the package is crashing my app when it opens up the webview to process a paypal payment or a dropin UI:

D/ViewRootImpl@e09a1a0[MainActivity](29932): ViewPostIme pointer 0
D/ViewRootImpl@e09a1a0[MainActivity](29932): ViewPostIme pointer 1
I/flutter (29932): _paymentMethodSelected function inside checkout_view.dart
I/flutter (29932): method: paypal
I/flutter (29932): _resetValues function inside checkout_view.dart
I/flutter (29932): _xxx1 function inside checkout_view.dart
I/flutter (29932): didChangeAppLifecycleState function inside home_view.dart
I/flutter (29932): inactive case
W/ActivityThread(29932): handleWindowVisibility: no activity for token android.os.BinderProxy@b4341be
I/MultiWindowDecorSupport(29932): updateCaptionType >> DecorView@eccf9e9[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport(29932): setCaptionType = 0, DecorView = DecorView@eccf9e9[]
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
D/FlutterBranchSDK(29932): onActivityStarted call
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): setView = com.android.internal.policy.DecorView@eccf9e9 TM=true MM=false
D/ViewRootImpl@e09a1a0[MainActivity](29932): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(29932): prepareNavigationBarInfo() DecorView@5312988[MainActivity]
D/InputMethodManager(29932): getNavigationBarColor() -855310
W/tmobile.androi(29932): Accessing hidden method Landroid/view/View;->getViewRootImpl()Landroid/view/ViewRootImpl; (greylist, reflection, allowed)
W/tmobile.androi(29932): Accessing hidden field Landroid/view/View$AttachInfo;->mVisibleInsets:Landroid/graphics/Rect; (greylist, reflection, allowed)
W/tmobile.androi(29932): Accessing hidden field Landroid/view/ViewRootImpl;->mAttachInfo:Landroid/view/View$AttachInfo; (greylist, reflection, allowed)
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=227 res=0x7 s={true 500830715904} ch=true
D/OpenGLRenderer(29932): createReliableSurface : 0x749bd3fec0, 0x749bd64000
D/mali_winsys(29932): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(29932): prepareNavigationBarInfo() DecorView@eccf9e9[FlutterBraintreeCustom]
D/InputMethodManager(29932): getNavigationBarColor() -855310
D/InputMethodManager(29932): prepareNavigationBarInfo() DecorView@eccf9e9[FlutterBraintreeCustom]
D/InputMethodManager(29932): getNavigationBarColor() -855310
V/InputMethodManager(29932): Starting input: tba=biz.zandu.marketplaceclientmobile.android ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(29932): startInputInner - Id : 0
I/InputMethodManager(29932): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(29932): Input channel destroyed: 'ClientS', fd=136
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): MSG_RESIZED: frame=(0,0,1080,2340) ci=(0,83,0,126) vi=(0,83,0,126) or=1
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(29932): (HTTPLog)-Static: isSBSettingEnabled false
D/MagnesPostRequest(29932): MagnesPostRequest returned PayPal-Debug-Id: ebd66b60f3b00
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(29932): prepareNavigationBarInfo() DecorView@eccf9e9[FlutterBraintreeCustom]
D/InputMethodManager(29932): getNavigationBarColor() -855310
I/FA      (29932): Application backgrounded at: timestamp_millis: 1707540713548
W/libEGL  (29932): EGLNativeWindowType 0x749bd3fed0 disconnect failed
D/ViewRootImpl@b1ce3ce[FlutterBraintreeCustom](29932): Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=165 res=0x5 s={false 0} ch=true
D/SurfaceView(29932): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{bbde039 V.E...... ........ 0,0-1080,2214} of ViewRootImpl@e09a1a0[MainActivity]
D/SurfaceView(29932): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{bbde039 V.E...... ........ 0,0-1080,2214}
W/libEGL  (29932): EGLNativeWindowType 0x743d28e010 disconnect failed
D/SurfaceView(29932): remove() io.flutter.embedding.android.FlutterSurfaceView{bbde039 V.E...... ........ 0,0-1080,2214} Surface(name=SurfaceView - biz.zandu.marketplaceclientmobile.android/biz.zandu.marketplaceclientmobile.android.MainActivity@bbde039@0)/@0xcd9d427
W/libEGL  (29932): EGLNativeWindowType 0x74ab581890 disconnect failed
D/ViewRootImpl@e09a1a0[MainActivity](29932): Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=386 res=0x5 s={false 0} ch=true
Lost connection to device.

Exited.

I need this to work but this crash issue is a problem. Can anyone help?

@TuanMai777
Copy link

Hi @nicolasvahidzein
Have you fixed this problem yet?

@nicolasvahidzein
Copy link
Author

No sir.

@nicolasvahidzein
Copy link
Author

@TuanMai777 ☝🏽

@TuanMai777
Copy link

TuanMai777 commented Apr 28, 2024

Hey @nicolasvahidzein
You can try V3
Fix deploy reject with: #150

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

No branches or pull requests

2 participants