gpt4 book ai didi

ios - 无法让 Plaid 沙盒在 iOS 上使用 Swift 3 运行

转载 作者:行者123 更新时间:2023-11-30 12:26:11 28 4
gpt4 key购买 nike

当我使用 un:user_good 和 pw:pass_good 时,我会看到附加的屏幕

并且它不返回 accessToken我已经在我的 AppDelegate 中添加了我的公钥

   [![@IBAction fu][1]][1]nc plaidConnectButton(_ sender: Any) {
let plaidLink = PLDLinkNavigationViewController(environment: .tartan, product: .connect)!

plaidLink.linkDelegate = self
plaidLink.providesPresentationContextTransitionStyle = true
plaidLink.definesPresentationContext = true
plaidLink.modalPresentationStyle = .custom

self.present(plaidLink, animated: true, completion: nil)
}


func linkNavigationContoller(_ navigationController: PLDLinkNavigationViewController!, didFinishWithAccessToken accessToken: String!) {
print("success \(accessToken)")
myAPIClient.connectAddBank(bankToken: accessToken, completion:{
(error) in
if(error != nil) {
print(error.debugDescription)
} else {
print("successfully added bank")
self.dismiss(animated: true, completion: nil)
}
})

}

func linkNavigationControllerDidFinish(withBankNotListed navigationController: PLDLinkNavigationViewController!) {
print("Manually enter bank info?")
self.performSegue(withIdentifier: "unlistedBankSegue", sender: self)
}

func linkNavigationControllerDidCancel(_ navigationController: PLDLinkNavigationViewController!) {
self.dismiss(animated: true, completion: nil)
}

请帮忙

最佳答案

在初始化过程中将您的环境设置为.sandbox

此格子支持链接:https://github.com/plaid/link/issues/140

关于ios - 无法让 Plaid 沙盒在 iOS 上使用 Swift 3 运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44191787/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com