-
Notifications
You must be signed in to change notification settings - Fork 408
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
[iOS] paymentToken not present on real device #30
Comments
Several questions... Should we have access to |
PR provided, open to discussion. |
Just getting to this now. I decided to expose Separately, I don't parse it on the native side, because the bridge serializes it before sending it over to JS. |
Deserialising that data does not destroy any of original response, correct? |
Yesterdays production deployment kinda surprised me.
When testing in sandbox/production on device,
paymentToken
got lost. On simulator, it works perfectly.Despite token arrives into JS "accept" handler , it does pass
_getPlatformDetailsIOS
The fact it works on simulator is an accident, present on these lines
Calling
Object.assign
copies whatever is present indetails
object and passes it further.Unfortunately, for real device, returned values are hand picked.
In both cases, return values should be hand picked to make sure they are equal in shape and/or values.
I am aware of #21 PR, I will try to build on that (unfortunately found the PR after my fix)
Offtopic:
Apple review passed, this lib is definitely safe for work!
The text was updated successfully, but these errors were encountered: