简体   繁体   English

用于Telerik的Cordova插件ios:将自定义框架添加到嵌入式二进制文件

[英]Cordova plugin ios for telerik : Add Custom framework to embedded binaries

I'm trying to create a cordova iOS plugin for a telerik ios app. 我正在尝试为telerik ios应用程序创建cordova iOS插件。 To integrate the custom(PressReader_SDK) framework embedded binaires i'm using this method : 为了集成自定义(PressReader_SDK)框架嵌入式binaire,我正在使用以下方法:

Custom Cordova Plugin: Add framework to "Embedded Binaries" 自定义Cordova插件:将框架添加到“嵌入式二进制文件”

The problem i'm encountering is that when i try to use the plugin in a cordova app it works fine but when i add the same plugin in telerik app, i get the error "image not found" this error occurs when cordova plugin isn't loading the embedded binaires. 我遇到的问题是,当我尝试在Cordova应用程序中使用该插件时,它工作正常,但是当我在Telerik应用程序中添加相同的插件时,出现错误“找不到图像”,当Cordova插件不存在时,将发生此错误。加载嵌入式Binaire。

I've searched all over cordova documentation but i can't find any way to make it work. 我已经搜索了科尔多瓦的所有文档,但找不到任何使其工作的方法。 Any kind of help would be appreciated. 任何帮助将不胜感激。

Well it looks like I'm not the only one to encounter this frustrating problem. 好吧,看来我不是唯一遇到此令人沮丧的问题的人。 The issue is this: Your using the solution found in the question Custom Cordova Plugin: Add framework to “Embedded Binaries” and it's only working in a plain Cordova app, but not a Telerik app. 问题是这样的:您使用的是自定义Cordova插件:将框架添加到“嵌入式二进制文件”问题中找到的解决方案,并且只能在普通的Cordova应用程序中工作,而不能在Telerik应用程序中工作。 That's because the this solution relies on using custom hooks in the plugins config.xml and Telerik doesn't allow custom hooks . 这是因为此解决方案依赖于在插件config.xml使用自定义钩子,而Telerik不允许自定义钩子 So your hook actually isn't running at all and your no better off than when you started. 因此,您的钩子实际上根本没有运行,并且与开始时相比没有比这更好的了。 I'm not aware of any work around for this problem and I've created a SO question to find out if anybody does ( Telerik AppBuilder and Embedded Binaries ). 我不知道有任何解决此问题的方法,因此我创建了一个SO问题来确定是否有人这样做( Telerik AppBuilder和Embedded Binaries )。 Hope we get some results! 希望我们能得到一些结果!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM