Closed gfreakcs closed 3 years ago
@gfreakcs thanks for the input. We have noted the inconsistencies and will review them for the next release.
@zsweigart Hi when is the next release going to be available? Thank you.
The next release is planned for mid-march. This is a current inconsistency between iOS vs web/Android and there are no current plans to patch it so it will remain inconsistent in RN
@zsweigart A couple of questions in relation to aiding our own development processes: Will both listed issues remain inconsistent for the next release? The different responses for both platforms can be handled, but the iOS bridge listing all accounts instead of only listing the depository types, does present as a significant issue for our live products. If we could have some feedback on how this might be prioritized, it would be quite helpful towards planning our own product releases; since alternatives need to be taken under consideration if this issue is not addressed promptly. Moreover, if this patch will not be planned as part of your next upcoming rollout, will this issue at least be handled in future iterations?
@khazizaj and @gfreakcs — what products are you passing in during initialization?
We'll be adding docs and support for account type filtering in the next release, which will ensure your results are the same on both platforms.
Hello, Do you have an approximate date on the release including the fix for account type filtering (discussed above)?
@khazizaj and @gfreakcs — what products are you passing in during initialization?
We'll be adding docs and support for account type filtering in the next release, which will ensure your results are the same on both platforms.
We are passing ['auth', 'identity']
Just checking in if there is a fix for the iOS account filter to just show checking and savings?
Will this be fixed anytime soon? Even in the most recent release, the formats are still different, although they differ from what was posted in this issue (in particular, android now has just a "metadata" property instead of "link_connection_metadata")
@wkiefer any update on this? It is quite problematic for us to move to your supported SDK given that updates Chase and Wells Fargo are imposing on us to leverage OAuth verification. Any update when will this be addressed?
Hi @tbadlov we will be releasing the next version of our native SDKs on 9/21. The react native update will follow on 9/28 which will unify the results between Android and iOS and have full support for OAuth verification. Thank you for your patience
@zsweigart looking forward to this release. We're waiting to integrate on both iOS and Android until the payloads are the same. Any updates on progress?
@zsweigart - I know you guys are working hard with the next update. We just made a different implementation for Android and it's now on the stores. It would be helpful if you guys can please let us know the exact date when this release is going to happen, so we can remove our implementation and have the same callback for iOS and Android beforehand; otherwise the Plaid integration for Android will fail for us and other people who made the same. Thanks!
Sorry for the delay, 6.0.2 should have the same payloads in onSuccess
and onExit
. For onEvent
, Android is still returning a json object for event names, but is otherwise returning the same payload. We will flatten this object in the next release
Thanks @amytang0 - We are using the version 6.0.2-rc4 and can confirm that the response is still different. As mentioned, we made a different implementation (basically a parser) for Android.
Please let us know when the next release is available so we can check again :-)
Hey would you mind sharing the differing results? Thanks!
On Tue, Oct 13, 2020, 12:09 PM AGAMA notifications@github.com wrote:
Thanks @amytang0 https://github.com/amytang0 - We are using the version 6.0.2-rc4 and can confirm that the response is still different. As mentioned, we made a different implementation (basically a parser) for Android.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/plaid/react-native-plaid-link-sdk/issues/47#issuecomment-707950045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSZZMD6HI7HFXLN3HNFQLSKSQXDANCNFSM4KPR7WBQ .
Hi @amytang0 - It seems that you guys are currently working on the output, two days ago the structure and issues were different:
Because the previous reasons, we did not use metadata_json and instead we used metadata.accounts and metadata.institution, and in the outputs you can see that as of today, these two are still different:
iOS
{
"public_token":"<public token>",
"metadata":{
"metadata_json":{
"institution":{
"name":"RBC Royal Bank",
"institution_id":"ins_39"
},
"account":{
"id":"gyZd8g9r48iB8nEzKByeFv8Pnwz9WeigRXVwQ",
"name":"Plaid Checking",
"type":"depository",
"subtype":"checking",
"mask":"0000"
},
"account_id":"gyZd8g9r48iB8nEzKByeFv8Pnwz9WeigRXVwQ",
"accounts":[
{
"id":"gyZd8g9r48iB8nEzKByeFv8Pnwz9WeigRXVwQ",
"name":"Plaid Checking",
"mask":"0000",
"type":"depository",
"subtype":"checking"
}
],
"link_session_id":"<link session id>",
"public_token":"<public token>"
},
"link_session_id":"<link session id>",
"accounts":[
{
"type":"depository",
"id":"gyZd8g9r48iB8nEzKByeFv8Pnwz9WeigRXVwQ",
"verification_status":"",
"mask":"",
"name":"Plaid Checking",
"subtype":"checking"
}
],
"institution":{
"name":"RBC Royal Bank",
"institution_id":"ins_39"
}
}
}
Android:
{
"public_token":"<public token>",
"metadata":{
"metadata_json":{
"institution":{
"name":"RBC Royal Bank",
"institution_id":"ins_39"
},
"account":{
"id":"JJL9l5qMjwC39K1kj74Au9qJVN6Dz3TdLGwaR",
"name":"Plaid Checking",
"type":"depository",
"subtype":"checking",
"mask":"0000"
},
"account_id":"JJL9l5qMjwC39K1kj74Au9qJVN6Dz3TdLGwaR",
"accounts":[
{
"id":"JJL9l5qMjwC39K1kj74Au9qJVN6Dz3TdLGwaR",
"name":"Plaid Checking",
"mask":"0000",
"type":"depository",
"subtype":"checking"
}
],
"link_session_id":"<link session id>",
"public_token":"<public token>"
},
"link_session_id":"<link session id>",
"institution":{
"institution_name":"RBC Royal Bank",
"institution_id":"ins_39"
},
"accounts":[
{
"subtype":{
"json":"checking",
"account_type":{
"json":"depository"
}
},
"mask":"0000",
"name":"Plaid Checking",
"id":"JJL9l5qMjwC39K1kj74Au9qJVN6Dz3TdLGwaR"
}
]
}
}
Since now metadata_json is inside metadata for both iOS and Android, and for iOS we could parsed it properly, we are going to change the implementation and use metadata_json only.
If anything else comes up, I will let you know!
During selection:
iOS shows all accounts
Android shows only depository types (checkings, savings)
onSuccess:
iOS
Android
<PlaidLink />
variable is the same as default configurationIs this normal and should we just write code to query for platform?