简体   繁体   English

InAppBrowser无法使用phonegap在Windows Phone 8中工作

[英]InAppBrowser not working in windows phone 8 using phonegap

Recently i came across a problem for Facebook login from my app through the InAppBrowser for phonegap. 最近我遇到了一个问题, Facebook login通过我的应用程序通过InAppBrowser Facebook login InAppBrowser空白。 I tried with ios and android source from Phonegap that worked good. 我尝试使用来自Phonegap的ios和android源码,效果很好。 When i tried the same for windows phone 8 its not working. 当我尝试相同的Windows Phone 8时,它无法正常工作。

When i search with phonegap documentation from here InAppBrowser - PhoneGap it is provided only for ios and android. 当我从这里搜索带有phonegap文档的InAppBrowser - PhoneGap时,它只提供给ios和android。

Could anyone suggest me an idea InAppBrowser for phonegap in windows phone 8. 任何人都可以向我推荐一个想法InAppBrowser for windows phone 8中的phonegap。

Windows Phone 8 was in very early stages at that time, and as a result, InAppBrowser was not supported. Windows Phone 8当时处于非常早期的阶段,因此不支持InAppBrowser。

You can do one of two things: 你可以做以下两件事之一:

1) Look at InAppBrowser 's source code at: . 1)查看InAppBrowser的源代码:。 Here you should be able to look at plugin.xml to work out the structure of the package, and install it into your project (it might be using deprecated classes - I could not tell you off the top of my head). 在这里,您应该能够查看plugin.xml来计算包的结构,并将其安装到您的项目中(它可能使用了已弃用的类 - 我无法告诉您最重要的事情)。

2) Look at the deprecated phonegap plugins folder here: https://github.com/purplecabbage/phonegap-plugins/tree/master/WindowsPhone/ChildBrowser . 2)在这里查看已弃用的phonegap插件文件夹: https//github.com/purplecabbage/phonegap-plugins/tree/master/WindowsPhone/ChildBrowser This is where plugins used to be installed before Cordova took them under their wing. 这是在Cordova将它们放在机翼下之前安装插件的地方。 ChildBrowser became InAppBrowser once Apache Cordova took the project on and called it InAppBrowser. 一旦Apache Cordova接受了该项目并将其称为InAppBrowser,ChildBrowser就成了InAppBrowser。 So ChildBrowser would have been its original form. 所以ChildBrowser将是它的原始形式。

Either way, you should be able to get one of two up and running (the first is probably the better of the two as it will have more up-to-date source code). 无论哪种方式,你应该能够得到两个中的一个(第一个可能是两个中更好的,因为它将有更多的最新源代码)。

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

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