我正在开发一个Microsoft团队选项卡应用程序。在他们的web客户端中安装我的应用程序时,我能够成功加载我的选项卡配置页面。在macOS客户端中重复此工作流将失败,并且不会进行任何渲染。在启用电子日志记录的情况下,我看到以下输出:
[2998:0828/101101.014965:INFO:CONSOLE(113)] "Controller 'kbList' or 'kbSelect', required by directive 'kbItem', can't be found!", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (113) [2998:0828/101101.151096:INFO:CONSOLE(76)] "Unrecognized Content-Security-Policy directive 'prefetch-src'. ", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.151309:INFO:CONSOLE(76)] "Unrecognized Content-Security-Policy directive 'prefetch-src'. ", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.223595:INFO:CONSOLE(76)] "Uncaught (in promise) undefined", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.223676:INFO:CONSOLE(76)] "Uncaught (in promise) undefined", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.400452:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://teams.microsoft.com/_#/conversations/General?threadId=19:c63e6abc4e4b4474a991c921adf0ce77@thread.skype&ctx=channel (0) [2998:0828/101101.469231:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://teams.microsoft.com/_#/conversations/General?threadId=19:c63e6abc4e4b4474a991c921adf0ce77@thread.skype&ctx=channel (0)
看起来我的rails应用程序从来没有收到过对iframed内容的请求,因为没有记录任何内容。
发布于 2018-08-30 04:13:53
我在本地运行我的应用程序,并没有意识到本地客户端需要一个外部可访问的URI。使用ngrok解决了我的问题
https://docs.microsoft.com/en-us/microsoftteams/platform/resources/general/debug#locally-hosted
https://stackoverflow.com/questions/52060276
复制相似问题