HTTPS iframe mobilefirst返回SSL握手错误



嗨,有没有办法连接到一个HTTPS iframe/图像从远程服务器从混合移动第一6.3 android应用程序不通过移动第一服务器?

我有一个带有:

的页面
<iframe id="resultadosDisp_iframe" src="https://..."></iframe>
<img src="https://...jpg">

我在我的日志中看到这个:

[ERROR:ssl_client_socket_openssl.cc(962)] handshake failed; returned -1, SSL error code 1, net_error -101

是否有一种方法可以在应用程序中放置密钥存储库或图像数据必须通过移动优先适配器?

我不会在2015年使用iframe,更不用说在移动应用中了。

您可以使用HTML5 localstorage和/或IBM JSONStore来存储base64编码的字符串-即图像-并在需要时将字符串解码回图像。关于base64编码/解码的问题已经有很多了。

你可以在这里阅读更多关于JSONStore的信息:https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/data/jsonstore/

相关内容

最新更新