【问题标题】:MobileFirst 7.0.0 application on Windows Phone 8.1 error from Weinre来自 Weinre 的 Windows Phone 8.1 上的 MobileFirst 7.0.0 应用程序错误
【发布时间】:2015-05-22 14:11:53
【问题描述】:

我们开发的 MobileFirst 应用程序可在 iOS、Android 上运行。在 weinre 控制台上显示控制台消息时,Windows Phone 8.1 端口显示以下错误:

Error in Error callbackId: WLAuthorizationManagerPlugin1600160345 : TypeError: Unable to get property 'WL-Authentication-Success' of undefined or null reference
Uncaught Exception: Unable to get property 'WL-Authentication-Success' of undefined or null reference at (compiled_code):303

出现此错误的原因可能是什么?我有安全测试:默认和应用真实性配置:无。

这个错误的原因是什么?

【问题讨论】:

  • 这是一个非常...“在黑暗中射击”类型的问题。该错误本身并没有充分揭示,因此必须对其进行调试。如果您能够在使用 weinre 和基本身份验证流程的简单应用程序中重新创建它 - 使用步骤和示例项目更新您的问题,否则 - 未知。

标签: windows-phone-8.1 ibm-mobilefirst weinre


【解决方案1】:

使用新的新应用程序一切正常。 对控制台日志的调查显示错误来自 WL.Client.connect() 调用。 无论如何,我删除了 windowsphone8 环境,重新创建并工作,现在它可以工作了。此外,connectOnStartup: false, 行也受到赞扬,我已重新启用,但我认为这不是问题所在。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多