我想使用Plaid Android 应用程序上的链接。我尝试在 WebView 中嵌入一些 javascript,如 tutorial 中所示:
<form id="some-id" method="POST" action="/authenticate"></form>
<!-- To use Link with longtail institutions on Connect, set the
data-longtail attribute to 'true'. See the Parameter Reference for
additional documentation. -->
<script
src="https://cdn.plaid.com/link/stable/link-initialize.js"
data-client-name="Client Name"
data-form-id="some-id"
data-key="test_key"
data-product="auth"
data-env="tartan">
</script>
但是 UI 似乎被剪切了 - 框架太小,整个 UI 需要滚动:
有什么可以解决这个问题吗?
最佳答案
我相信这个问题的答案是您需要请求/设置 Webview 的高度和宽度,否则它不会填充父级。如果您没有将其设置得足够大,则会切断格子链接页面。
关于javascript - Android 版格子链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37387261/