问题标签 [inappbrowser]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
facebook - PhoneGap InAppBrowser access token sessions not connecting
I am using PhoneGap 3.0.0 and trying to create a 'simple' login and connection with facebook in order to use Facebook's post dialog to post on behalf of my application to users' Facebook pages.
Here is my understanding of how the connection logic should work: 1. he application calls out facebook login in a new window (within the application itself), but it is linked to our app data 2. so, when FB gets a successful login, they redirect to OUR server, but now with a live Facebook accessToken 3. with it, in my server, I get the session data of the person 4. then automatically, that mini-browser within the application closes 5. and comes back to the application 6. now I make an alert of the facebook token 7. and then I require our server for the user's token from my application 8. once I retrieve our Token, I can initiate the automatic load of information into the application... that's it 9. when the mini-browser closes and we get back to the application I retrieve our session token, automatically
** The problem here is that this action is not happening, the session register is not happening in our server for some reason. It does work in the test module that I developed, but not in the complete application even with the same module... that's the problem here. I get perfectly the access token from facebook, but I don't get it from our server... like their session in our server never gets registered.
android - Cordova InAppBrowser - 如何在 Android 中禁用 URL 和导航栏
我目前正在开发适用于 android 和 ios 的混合应用程序。它使用带有 phonegap 3.0 的 inappbrowser 插件。我需要隐藏 url 和导航按钮。根据帖子Cordova InAppBrowser - 如何禁用 URL 和导航栏?
我怎样才能为Android项目做同样的事情
提前致谢!阿伦沙提安
header - InAppBrowser 的 iOS 7 vCard 标头问题
在 iOS 7 中,现在可以以正常方式导出 vCard。
(看看这里:https ://stackoverflow.com/a/11405271/2861693 )
我的标题因此看起来像这样
并且在使用 safari 打开 web 应用程序时效果非常好。但是一旦我用 inappbrowser 调用它(这是一种常见的情况,因为链接是通过扫描二维码检索的),它加载失败......
有人对用于导出 vCard 的与 inappbrowser 兼容的标头有想法吗?
最好的问候,埃尔丹。
plugins - Phonegap 3.0 InAppBrowser - Provides no way for user to close
I had inApBrowser working in my app just fine... however, I upgraded some things and now it opens the URL without any way of closing it. You have to kill the app.
I have tried many variations of this: window.open('http://cnn.com','_blank','location=yes,toolbar=yes');
myconfig.xml has:
I get no errors... the page opens... but there is no way to close and return to the app. I have seen a lot of folks putting solutions for URL recognition and making the window close... but I need the childBrowser plugin method... where the user can close the window when he/she is finished viewing the page.
Phonegap 3.0 - JqueryMobile 1.2 - IOS 7.0.2 - xCode 5.0 -
Any help would be greatly appreciated!
cordova - Phonegap/Cordova inAppBrowser 可以使用webstorage吗?
我正在使用 Cordova 3.1.0 + inAppBrowser 插件 + js/css 注入开发一个应用程序。
我想要一个功能来记录一些活动,例如在引用的 inAppBrowser 上的滚动位置,以便重新打开的页面自动滚动到记录的位置。
有没有办法做到这一点?
或者,以某种方式在 phonegap 应用程序端和 inAppBrowser 应用程序端之间进行通信的 webSocket 服务器和客户端可以完成这项工作,但到目前为止我还不愿意深入研究。
cordova - InAppBrowser 如何禁用滚动弹跳并启用水平滚动?Phonegap/Cordova3.1
没有选项可以调整它,显然,我们需要调整 CDVInAppBrowser.m(对于 iOS)
有人可以给我一个指南吗?
ios - Phonegap IOS:webView:didFailLoadWithError - 找不到具有指定主机名的服务器
我正在使用 ios phonegap 应用程序中的 inAppBrowser 集成 facebook 和 twitter。昨天晚上它仍然可以正常工作。但是今天在登录时我在控制台中收到以下错误:
“webView:didFailLoadWithError - 找不到具有指定主机名的服务器。”
我该如何解决这个问题?请提出解决方案...
谢谢
ios - InAppBrowser 未在 Phonegap 3.1.0 中调用
我从 NPM 获取了最新版本的 phonegap 并安装了它。我创建了一个新项目,并根据 PhoneGap 上的文档添加了 InAppBrowser 插件. 然后我从我的 webapp 进行 JavaScript 调用,但我从来没有看到我在下面编码的警报,也没有看到我在 Xcode 中为插件设置的任何断点。
这是JS的代码:
发生的情况是,该 url 被启动以在我现有的应用程序之上显示一个 PDF,没有警报,也没有位置/关闭按钮。为什么不使用 InAppBrowser 的任何想法?我需要让它显示在一个带有关闭按钮的窗口中。
这是我在运行应用程序时在 Xcode 中看到的输出:
这是我的 config.xml:
ios - InAppBrowser 未启动
我已经使用 npm 安装了 Phonegap 并且我的应用程序运行良好,除了当我调用 window.open 来启动一个网站时,它没有给我带有完成按钮的页脚,所以我的应用程序卡在被调用的网页上。
我正在使用 XCode 构建一个 ios 应用程序。
我使用 npm 添加了 InAppBrowser 插件。它将 to 添加到 config.xml。
我已将该站点添加到 config.xml 中的白名单中。该网站可以正常打开,只是没有完成按钮/页脚。
它将 InAppBrowser 插件条目添加到:/#myapp#/platforms/#platform#/www/cordova_plugins.js
它在 /#myapp#/platforms/#platform#/plugins/ 中添加了 InAppBrowser 插件文件夹
InAppBrowser 的相关 SRC 文件也在平台文件夹中(例如 IOS 插件 src 文件为:/#myapp#/platforms/#platform#/#appname#/Plugins/)
我在 InAppBrowser.js 中添加了一个 console.log 函数,以确认插件已加载,但它不会生成日志条目。
我已经尝试了很多方法来让页脚/完成按钮显示没有任何成功,但我似乎在这里遗漏了一些东西。
cordova - 如何更改 Phonegap InAppBrowser 的按钮颜色
搜索了高低,找不到这个答案。简单地说,是否可以自定义 Phonegap InAppBrowser 中的“完成”按钮颜色以及箭头颜色?它们似乎在 iOS7 上默认为蓝色。想让它们变白。谢谢。