-
Notifications
You must be signed in to change notification settings - Fork 28
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
PopupBridge.mWebView / mContext null after process kill #26
Comments
Hi @herbeth1u thanks again for using the sdk. I tried reproducing in our demo application and am unable to reproduce. I do however see the concern. May I trouble you for a screen-capture as well? Theoretically, I'm unable to imagine how |
Hi @sshropshire , we have recorded a video showcasing the crash. For obvious confidentiality issues, we would like to forward it to you in a private message. However it doesn't seem to be possible to send a PM on Github. |
Hello @herbeth1u apologies for the late response. We are able to reproduce similar behavior in our demo application, and it has to do with the deep link back into the PopupBridgeActivity. It seems that Android isn't invoking the deep link after a process kill. We are investigating the issue. |
This fix is released in 4.0.0-beta2. |
Version 4.0.0 is now generally available. |
Patched from v4 commit: braintree@4bff178 Resolves: braintree#26
…shfix: Wait for Window to Load Before Executing Javascript Callback. Patched from v4 commit: braintree/popup-bridge-android@4bff178 Resolves: braintree/popup-bridge-android#26
General information
Issue description
Hello again. After some tests following #25 , we've managed to reproduce the crash so we're creating a new issue as mentioned in the previous issue. The stacktrace as a reminder:
Steps to reproduce
FYI we are using PopupBridge for Paypal.
PopupBridge
fragment is recreated, but its data initialized innewInstance
and not saved in aBundle
have been erased (includingmWebView
andmContext
). When going inonResume
, the NPE occurs.Again feel free to ask for more details!
Thank you.
The text was updated successfully, but these errors were encountered: